[INACTIVE][MECH] SignEdit v1.4.8 - Remote-edit signs (with Colors!) [617]

Discussion in 'Inactive/Unsupported Plugins' started by .$pIrit, Jan 22, 2011.

  1. Offline

    .$pIrit

    SignEdit v1.4.8 (LWC, GroupManager & Permissions support)

    Built against:
    Latest recommended CraftBukkit #617
    LWC 2.1
    GroupManager 1.0 alpha 5
    Permissions 2.5.4

    Description:
    With SignEdit you can edit the text of a sign without having to re-place it.
    You can register names for the signs to edit them whithout seeing them.
    This is very useful for sign-plugins like CraftBook!

    [​IMG]

    Features:
    • Use colors on signs!
    • Edit whole signs you´re looking at.
    • Edit only some lines of signs.
    • Edit signs out of range with a self-set name.
    • Clear signs with ease.
    • Add/Edit/Remove names for signs to edit them from everywhere.
    • Full LWC & GroupManager support
    • Much more planned...
    ToDo:
    • Switch between texts by clicking the sign. (if wanted)
    • Switch between texts of another sign by clicking the control sign.
    • Redstone-Wire the control sign.
    • Save texts & sign-names per player.
    • Allow multiple signs per name.
    Using it:
    The main command is /signedit or /se
    ( <> = needed; [ ] = optional )
    Add an ID to the sign you´re looking at:
    /se add <name/id>
    Edit the ID of the sign you´re looking at or by ID:
    /se edit [Name/ID] <newName/newId>
    Remove the ID of the sign you´re looking at or by ID:
    /se remove [Name/ID]
    Clear the text of the sign you´re looking at or by ID:
    /se clear [Name/ID]
    Set the text of the sign you´re looking at:
    /se set <text>
    Set the text of the sign matched by it´s ID:
    /se setid <name/id> <text>
    Save the text of a sign.
    /se save [Name/ID] <SaveName>
    Load a text on the sign.
    /se load [Name/ID] <SaveName>
    Remove a saved text.
    /se rsave <SaveName>

    Syntax of <text>:
    "first line" "second line" "third line" "fourth line"
    - Two quotes mark one line.
    - You dont need to put a space between the quotes.
    - A line can contain any character except for a quote.
    - A line can be empty
    - You dont have to set all lines.
    Setting specific lines:
    2"second line" 4"fourth line"
    - The number before a quote is the line-number. (1-4)[/size]
    - None-set lines will keep the text they have.

    Permissions:
    Code:
    signedit.add - Add Sign-IDs
    signedit.edit - Edit Sign-IDs
    signedit.remove - Remove Sign-ID´s
    signedit.edittext - Clear/Set/Edit signs
    signedit.savetext - Save sign-texts
    signedit.loadtext - Load sign-texts
    signedit.removetext - Remove saved texts
    Colors:
    See http://wom.thatgamer.com/colorguide.php for Color-Codes.

    Example commands:
    /se add MyPluginName
    /se edit MyPluginName MyNewPluginName
    /se remove MyPluginName
    /se set "First line" "" "Third line"
    /se set 2"Second line" 4"Fourth line"
    /se setid MyPluginName "First line" "" "Third line"
    /se setid MyPluginName 2"Second line" 4"Fourth line"
    Change Color of a line:
    /se set "[ColorCode]"

    Download v1.4.8 #617:
    http://software.sp1rit.de/Minecraft/SignEdit.jar

    Download v1.4.7 #602:
    http://software.sp1rit.de/Minecraft/600/SignEdit.jar

    Download v1.4.6 #556:
    http://software.sp1rit.de/Minecraft/556LWC2/SignEdit.jar

    Changelog (open)
    V 1.4.8
    - again
    V1.4.7
    - Latest Bukkit and LWC 2.1
    V1.4.6
    - Compiled with LWC 2
    V1.4.5
    - And again
    V1.4.4
    - Built with latest Bukkit, GroupManager, Permissions & LWC.
    V1.4.3
    - Built with latest Bukkit, GroupManager, Permissions & LWC.
    V1.4.2
    - various bugfixes
    V1.4.1
    - Added Multiworld support for name-based sign editing.
    - Updated to b493jnks
    - Update to GroupManager 1.0 pre alpha 3
    - Update to Permissions 2.5.2
    - Changed to new save-format for sign-names
    V1.4
    - Added Permissions 2.5.1 support
    - Added Save/load/remove of sign-texts (atm only one savefile for all users)
    V1.3
    - Added GroupManager support
    V1.2.1
    - Recompiled with new bukkit
    - Fixed TSLPC
    - Temorary disabled permissions (LWC still active)
    V1.2
    - Added LWC-Protection support
    - Added Permissions support
    V1.1.1
    - Rebuild with new bukkit rev.
    V1.1
    - Colors now usable without the command (Right-click sign after placing)
    - Registered ID´s will be removed if the signs get destroyed.
    V1.0
    - First release


    Reuploaded... sry 4 missrelease ^^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
    Jucko13, Kainzo, PoPsou and 1 other person like this.
  2. Offline

    Animosity

    If anyone has any trouble making this work nicely with CraftIRC let me know.
     
  3. Offline

    .$pIrit

    New version online!

    V1.4.1
    - Added Multiworld support for name-based sign editing.
    - Updated to b493jnks
    - Update to GroupManager 1.0 pre alpha 3
    - Update to Permissions 2.5.2
    - Changed to new save-format for sign-names


    No Lockette support atm because its on 440 and i couldnt find any api reference.
    I put on redmine on http://redmine.sp1rit.de and i added SignEdit to the bukkit wiki at http://wiki.bukkit.org/SignEdit
     
  4. Offline

    Borisbe

    Thx .$pIrit ;)
     
  5. Offline

    koneko

    Hi there. :)

    Just trying out your plugin, but unfortunately it's not recognizing any signs. Nothing that I've tried with any commands seem to be helping. the only response I get is "No sign in sight."
     
  6. Offline

    Pawned

    I'm getting this on startup:

    Code:
    2011-03-07 18:30:21 [SEVERE] Java heap space loading SignEdit v1.4.1 (Is it up to date?)
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOfRange(Arrays.java:3221)
        at java.lang.String.<init>(String.java:233)
        at java.lang.StringBuffer.toString(StringBuffer.java:602)
        at java.util.Properties.saveConvert(Properties.java:647)
        at java.util.Properties.store0(Properties.java:834)
        at java.util.Properties.store(Properties.java:766)
        at de.sp1rit.signedit.SignManager.save(SignManager.java:63)
        at de.sp1rit.signedit.SignManager.convertOldSigns(SignManager.java:96)
        at de.sp1rit.signedit.SignManager.<init>(SignManager.java:20)
        at de.sp1rit.signedit.SignEdit.onEnable(SignEdit.java:35)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  7. Offline

    .$pIrit

    New version online. Im now using the built in getTarget in bukkit.
    @koneko i couldnt rebuild the error it worked fine for me but try again now.
    @Pawned same there. Couldnt rebuild the error but i hopefully fixed it.
     
  8. Offline

    Pawned

    Well I solved the error by deleting my existing sign database, but thanks for updating :).
     
  9. Offline

    .$pIrit

    V1.4.3
    - Built with latest Bukkit, GroupManager, Permissions & LWC.
     
  10. Offline

    Borisbe

    Hi .$plrit,

    I have this error with the latest version (1.4.3).

    Code:
    11:23:47 [GRAVE] Could not load plugins\SignEdit.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassFormatError: Unknown constant tag 2 in class file de/sp1rit/signedit/SignEdit
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
            ... 8 more
    Craftbukkit 493 - Permissions 2.5.4
     
  11. Offline

    .$pIrit

  12. Offline

    Borisbe

    Ok Thx.
     
  13. Offline

    Jobsti

    Hey thanks for you update. Works with #522, I'm happy again ;)
     
  14. Offline

    Moo Master

    runnin 521 with the 493 version, no errors and it works great!

    Its nice cuz you can have more than 15 letters per sign

    and with the Lift Signs from craftbook you can make the Name of the floors colurful :p
     
  15. Offline

    Kryxx

    Love the plugin.
    So, how do you enter in the color codes?
     
  16. Offline

    .$pIrit

    For example:
    /se set "&4First line in red" "&2Sec line in green" "&1Third line in blue"

    You can use as much colors as you want.
    Here is the list of the colors: http://wom.thatgamer.com/colorguide.php
    But use & instead of §.

    You cant use more then 15 chars per sign. But thats a problem of (or planned by) bukkit.
    [MERGETIME="1299769585"][/MERGETIME]
    Updated with latest build. Hopefully they´ll stop to recommend an build every day :p

    V1.4.4
    - Built with latest Bukkit, GroupManager, Permissions & LWC.
     
  17. Offline

    Kryxx

    Aha! This part: "But use & instead of §." was the key to my woes.

    Thanks!
     
  18. Offline

    Acru

    There is no api right now, but if you are willing to use it I could provide an interface in the update this weekend.

    Perhaps just something simple like you pass a block, and Lockette returns true/false?
     
  19. Offline

    .$pIrit

    I started working on v2 today. I would like to implement it with the release (which take some weeks) so kind of an small interface would be nice ;)
    The block -> true/false should be okay ^^
     
  20. Offline

    N3X15

    Could you please post the sourcecode? I'm looking to patch this to support a client-side mod I made for editing signs.

    (/se set <x,y,z> "Blah" "Blah" "Blah" etc)
     
  21. Offline

    .$pIrit

    I dont really like to post my source because the last one who got it used it for his SignEdit (MySignEdit) without permissions to use it (wanted just see it) and without any reference to me or this plugin.

    You wanna do it for signleplayer? Shouldnt be so bad ill send you a pm.
     
  22. Offline

    .$pIrit

    Updated again.
    Maybe i should stop to count the version up with every new recommended build :p

    Looking forward to ship out V2 :D
     
  23. Offline

    Acru

    Okay, I've added a minute interface into Lockette 1.3, and I'm providing details to you semi-personally, so you can try it and tell me if I did it right~ Grab the updated plugin and then use the static function like:

    boolean value = Lockette.isProtected(block);

    If the plugin is not yet enabled it will return false, otherwise it will return true only if it is a block/sign protected by the Lockette plugin. You should use a try/catch incase Lockette isn't available, of course.

    Additionally, 1.3 has code to strip color codes from the signs it uses, in case you add commands to your plugin that can change the color of signs without allowing changing the text. (Just be sure that you don't go over 15 characters when modifying Lockette protected signs like that, as the text will be truncated to 15 chars on a server restart.)
     
  24. Offline

    .$pIrit

    Okay thx ill integrate it in V2.
    Hope to get it out next week. Im pretty busy the last weeks.

    We could need someone who provides us with a plugin which covers absolutely all protection plugins and provides an easy api where you can get the protection state of a block with one simple function :p
    There are so many protection plugins which (sometimes) provides exactly the same features but with a different api so i have to cover both.
     
  25. Offline

    Juze

    CB#556
    SignEdit v1.4.5
    LWC 1.63
    Permissions 2.5.4

    Every time I try to do some sign command, it tells me that it's protected with LWC, but it's not. I have sign as blacklisted item in LWC. I have '*' permissions.
     
  26. Offline

    Acru

    Or better yet, something built into bukkit, to do this.
    You ask bukkit if a block is protected, and bukkit asks all the loaded plugins~

    You could add a task for this on leaky?
     
  27. Offline

    Jelle

    There is one thing i really want:
    When u right click at a sign, u can edit it.

    Very simple, but really useful, do u think u can add that?
     
  28. Offline

    .$pIrit

    It would never have occurred to me although its the best method. :p
    Thx ill integrate it as soon as possible. (Or not.. read below)

    V2 will need more time till release. Im lil bit busy atm.

    I can´t integrate this because its not possible. Damn would be a nice feature :p
     
  29. Offline

    Acru

    Here is a possibility/tip; you can trigger this by placing a sign on another sign. You then catch in PLAYER_ITEM and cancel to remove and return the 2nd sign, and just use the data entered to apply to the 1st sign in SIGN_CHANGE. Not 100% sure this works, but the dialog still pops up last I checked, when you do this.
     
  30. Offline

    Kainzo

    Is there anyway that this can gain support for IconomyChestShop? It seems you can edit another players sign and make it where they are selling something they are not. It may require LWC - im uncertain at this point.
     
  31. Offline

    .$pIrit

    I dont really unterstand your post. What support for IconomyChestShop do you need?
    You mean that the player should not edit a shop sign with parameter where the shop normally would give an error message or such? ^^
     

Share This Page