[MECH] SpeedSign v0.8.2 - Now with groups! [1317]

Discussion in 'Inactive/Unsupported Plugins' started by needspeed10, Mar 29, 2011.

  1. Offline

    needspeed10

    SpeedSign - Advanced signeditor:
    Version: v0.8.2

    With SpeedSign you can edit a sign you are looking at, restrict access to it, overload it and much much more.

    I'm looking for testers or someone who makes a nice tutorial.

    Features:
    • Edit signs with commands
    • Edit the sign by simply rightclicking it with a sign
    • Have multiple colors in one line
    • Colored text while typing on a sign
    • Permissions/Lockette support
    • Restrict sign access
    • Clear text with doubleclick
    • Remote/Group access to signs
    • Config file for colors, color character and more
    • Shout out or read the sign text
    • Colors over all lines
    • Per color permissions
    Install (open)


    Move the speedsign.jar to yourserver/plugins.
    The plugin supports Permissions(GroupManager too) but doesn't need it.
    If there is no Permissions just ops can use the functions.
    Lockette is supported but not needed.

    For the client mod you just have to copy the .class file into your .minecraft/bin/minecraft.jar file. Then delete the META-INF folder out of it.

    Commands OLD (open)

    /sign set <line> <text> - sets the "line" of sign to "text"
    /sign add <line> <text> - adds to the "line" of sign "text"
    /sign clear - clears sign
    /sign super - changes you to overload-mode (just needed forthe client mod users)
    /sign list - shows owners of a sign
    /sign listperm - shows all owners of signs
    /sign listover - shows all overloaded signs
    /sign perms add <player> - add "player" to owners of a sign
    /sign perms del <player> - del "player" from owners of a sign
    /sign perms rem - grants access to a sign to everyone
    /sign destroy - destroys sign you're looking at
    /sign coord <signX> <signY> <signZ> <command> <args> - executes "command" on sign
    /sign version
    /sign help <page> - shows help
    /sign color line1color (line2color) (line3color) (line4color) - lineXcolor means: color of line X
    /sign read - posts you the sign text
    /sign myperms - shows your permissions
    /sign shout - shouts the sign text in the chat

    $<Color> in a text causes the following text to be colored in "Color"
    \$<Color> shows "$Color"
    \n in a text makes a new line
    \\n in a text shows "\n"


    Commands NEW (open)

    /SSedit set <line> <text> - sets the "line" of sign to "text"
    /SSedit add <line> <text> - adds to the "line" of sign "text"
    /SSedit clear - clears sign
    /SSedit ins - <line> <position> <text> - inserts "text" in "line" at "position"
    /SSedit color line1color (line2color) (line3color) (line4color) - lineXcolor means: color of line X
    /SSedit destroy - destroys sign you're looking at

    /SSgroup create <group> - creates "group"
    /SSgroup delete <group> - deletes "group"
    /SSgroup exec <group> <command> <args> - executes a command on all signs in "group"
    /SSgroup add <group> - adds the sign you're looking at to "group"
    /SSgroup remove <group> - removes the sign you're looking out of "group"

    /SSlist signs - lists signs
    /SSlist overload - lists overloaded signs
    /SSlist perms - lists permitted signs
    /SSlist groups - lists groups
    /SSlist version - shows version
    /SSlist myperms - lists own permissions
    /SSlist help <command> - shows help of a command

    /SSperms add <players> - add players to owners of a sign
    /SSperms del <players> - del players from the owners of a sign
    /SSperms rem - access to everybody for this sign
    /SSperms list - lists owners of a sign

    /SSpers save - saves
    /SSpers load - loads

    /SSspecial super - changes you to overload-mode (just needed forthe client mod users)
    /SSspecial coord <signX> <signY> <signZ> <command> <args> - executes "command" on sign
    /SSspecial read - posts you the sign text
    /SSspecial shout - shouts the sign text in the chat

    $<Color> in a text causes the following text to be colored in "Color"
    \$<Color> shows "$Color"
    \n in a text makes a new line
    \\n in a text shows "\n"


    Tutorials (open)

    Version 0.8.1 , Language: English, Voice: yes, Topic: Demo, User: moselekm

    Version 0.7.10 , Language: French, Voice: yes, Topic: Basics, User: Nelo

    Version 0.5 , Language: English, Voice: no, Topic: Basics, User: me


    Permissions (open)

    speedsign.admin - grants access to every sign and command
    speedsign.super - allows you to use the mod
    speedsign.direct - allows you direct editing of signs
    speedsign.click - allows you to clear signs with double click
    speedsign.color."color" - allows players to use specified colors
    speedsign.<command> - each command has its own permission node

    Config (open)

    All is stored in plugins/speedsign/preferences.yml.
    If it's not existing, it will be autocreated.

    Code:
    colorChar: '$'
    #colors
    blue: blue
    red: red
    green: green
    aqua: aqua
    black: black
    dark_aqua: dark_aqua
    dark_blue: dark_blue
    dark_gray: dark_gray
    dark_green: dark_green
    dark_purple: dark_purple
    dark_red: dark_red
    gold: gold
    gray: gray
    light_purple: light_purple
    white: white
    yellow: yellow
    #colors end
    linessamecolor: true
    

    Example picture (open)

    [​IMG]


    Download Plugin

    Version 0.8.2
    • New help system
    Version 0.8.1
    • Lockette fix
    • Build against CB 1185
    Changelog (open)

    Version 0.8
    • Insert text
    • Sign groups
    • new command system
    • Persistance change
    Version 0.7.11
    • Added per color permissions: eg. speedsign.color.GOLD or speedsign.color.*
    Version 0.7.10
    • Lockette support fixed
    • Bug: Can't reload server when a new version is pushed on it.
    Version 0.79
    • You can now reload the server without an huge exception
    Version 0.78

    • (Maybe) Faster color processing
    Version 0.77

    • (Maybe) fixed disappearing permissions
    • new Command: /sign myperms - shows your permissions (manually checked)
    Version 0.76

    • Added speedsign.color
    Version 0.75


    • Changed Permission system
    Version 0.74


    • Added the /sign color command
    Version 0.73


    • Fixed the bugs: Colors on the Sign,Disappearing Text
    Version 0.72


    • (Maybe) Fixed problem with other plugins using onSignChange
    Version 0.71


    • Colors over all lines (you can turn it off in the preferences)
    • Compiled against cb 798
    • /sign help has now different pages
    • New commands /sign read and /sign shout
    • Fixed bug: Write colors on the sign while placing it
    Version 0.7


    • Improved exception handling for wrong commands
    • You can escape \n now with \\n
    • When you switch to super you see all existing overloaded signs
    • If you left the server in super, you will be again if you enter
    • Added a config file (preferences.yml)
    Version 0.6.4


    • new help command
    • remotesignediting with /sign coord
    • instant sign destruction with /sign destroy
    • bugfixes
    • compiled against 755
    Version 0.6.3


    • Fixed loading signs
    • Colors got stripped in the gui
    • with \n you can switch to another line (sign set 1 line1\nline2)
    • released the new mod
    • many bugfixes
    Version 0.6.2


    • Fixed permissions
    • cmopiles against 740
    Version 0.6.1


    • Colors don't count into textlength
    • new command /sign version
    • Overloaded text will be trimmed for normal user
    • compiled against 733
    Version 0.6


    • Complete new code (Code cleansing)
    • Better save system
    • Info messages for the most things
    • Overload works now only in the super mode and the client mod
    • Fixed some little bugs
    • Insert is mostly finished (not usable for now)
    • Craftbukkit 714 compatible (Minecraft 1.5_02)
    Version 0.5


    • New client mod to overload signs directly
    • Added direct editing with rightclick!!
    • Changed some command names
    • Now you can list the overloaded signs
    Version 0.4


    • Added overload feature
    • Changed saving system
    • Bugfixes
    • Build against CB 670
    Version 0.3.3


    • Fixed bug with Permissions
    • Changed something in Lockette support
    Version 0.3.2


    • Added Lockette support
    Version 0.3.1


    • Fixed color bug
    Version 0.3


    • Permissions support
    • Better color handling (text can touch other text with other color)
    • Access restriction to a sign
    • Fixed some bugs
    Version 0.2


    • Added colors
    Version 0.1


    • SpeedSign release



    Helpers:
    • ebe - helped testing
    • shamebot - helped with regex
    • eisental - different things
     
  2. Offline

    needspeed10

    It doesn't want to create new cause your minecraft would crash then. But I can't explain why the previous work.
    Can you send me the server ip?
     
  3. Offline

    xsolar66

    Rather, Here's a few quick screenshots of what I mean: Here's an overloaded sign -

    [​IMG]

    Another one :

    [​IMG]

    And when I try to recreate the previous picture's sign - I get this error :

    [​IMG]
     
  4. Offline

    needspeed10

    Ah ok now I got what you mean. The old signs are not overloaded cause they use other colorcodes.
    I will fix that thx. (I think that was Ratte's problem too)

    Version 0.6.1 released

    • Colors don't count into textlength
    • new command /sign version
    • Overloaded text will be trimmed for normal user
    • compiled against 733

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  5. Offline

    Ratte

    Thank you so much! The new version fixed any issues i had. I love this plugin! :)

    edit: damn, now i found a bug: People can't remove their own signs if they don't have access to any permission nodes. it says "no permission for speedsign.editing" even the sign isnt protected or used any colors.

    edit2: it seems like the permission node doesn work, neither SpeedSign.editing nor speedsign.editing works. the speedsign (lowercase) is mentioned in the topic. in the error message the people get it's SpeedSign (camelcase). tried both.
     
  6. Offline

    needspeed10

    Version 0.6.2 released

    • Fixed permissions

    @Ratte the node is speedsign.editing it was my fault, now the players don't need
    anymore speedsign.editing for destroying their own signs.
     
  7. Offline

    Taranis01

    one thing i really miss is a permission for the colourcodes!

    do i have to set my name to the perms even if i placed the sign? / is there an option that the owner of a sign automaticlly gets the perm?
     
  8. Offline

    mavbear

    Code:
    2011-05-03 17:41:33 [INFO] SpeedSign: version 0.6.2 is enabled!
    2011-05-03 17:41:33 [SEVERE] org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign loading SpeedSign v0.6.2 (Is it up to date?)
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
        at need.speedsign.IOStuff.load(IOStuff.java:82)
        at need.speedsign.SpeedSign.onEnable(SpeedSign.java:46)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    RUH ROH! And every time I try to use the /sign set command, I just get a message that says "/sign" in white text. :(
     
  9. Offline

    needspeed10

    Did u destroy a sign with worldedit ?
     
  10. Offline

    eisental

    I also get this message on startup many times. Perhaps signs are jumping off? Might have something to do with block data resetting to 0x0.
     
  11. Offline

    needspeed10

    Version 0.6.3 released

    • Fixed loading signs
    • Colors got stripped in the gui
    • with \n you can switch to another line (sign set 1 line1\nline2)
    • released the new mod!
    • many bugfixes
    Version 0.6.4 released

    • new help command
    • remotesignediting with /sign coord
    • instant sign destruction with /sign destroy
    • bugfixes
    • compiled against 755
     
  12. Offline

    needspeed10

    Version 0.7 released

    • Improved exception handling for wrong commands
    • You can escape \n now with \\n
    • When you switch to super you see all existing overloaded signs
    • If you left the server in super, you will be again if you enter
    • Added a config file (preferences.yml)
    • compiled against 766
     
  13. Offline

    iloveportalz0r

    Haha, I was trying /sign set 1 $4 cheese. I didn't know it had to be an actual color name.
     
  14. Offline

    needspeed10

    You can choose your own colornames in the preferences file.
     
  15. Offline

    xsolar66

    hi needspeed, I have a request

    when using \n, it is fantastic, but you have to retype the $color each time,

    so if you wanted a blue sign it'd be /sign set 1 $blue Hello\n$blue how are you?\n$blue yep i am good

    Is it possible to make it remember which color you are on after the \n?

    so then it would be /sign set 1 $blue Hello\nhow are you?\nyep i am good ..- but all in blue!
     
  16. Offline

    needspeed10

    It wouldnt be a problem to code.
    But i dont know, if that is that what all want.
    How about if you (speedsign users) would write down here what would be better.
    In meanwhile i could think about an other solution.
     
  17. Offline

    xsolar66

    This is just because I find far more often I am making signs of a single color,

    ...and when I do have a different color on the same sign, it would be far more easier (for me at least), to then use the $color to change it, rather than having it revert to the default black each time on a new line.

    Ie. /sign set 1 $blue (blue_text) \n (defaulted back to black_text). It would be far better if it didn't just keep going back to Black. It's just about continuity, and I'm fairly sure people would agree. There are far more circumstances where I find myself having to set the sign color to blue at the start of every line, rather than wanting it to revert back to the default black.

    Of course, if people do disagree with this, then perhaps in the same config where you set the color and the code you use to represent each color, you could have an option something like "\n new lines same color = true / false"
     
  18. Offline

    Jdbye

    I like this plugin, but colors aren't working when I place signs, only when I edit them, so I reinstalled SignColours assuming it would color the text when I placed signs, but SpeedSign is overriding it's functionality.
     
  19. Offline

    needspeed10

    This is caused by the new cb. I already fixed it, just wait for the new version.

    @xsolar66
    @Jdbye

    Version 0.71 released

    • Colors over all lines (you can turn it off in the preferences)
    • Compiled against cb 798
    • /sign help has now different pages
    • New commands /sign read and /sign shout
    • Fixed bug: Write colors on the sign while placing it

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  20. Offline

    Jdbye

    The link still goes to 0.7.
     
  21. Offline

    needspeed10

    Oh ok I uploaded now the new.
     
  22. Offline

    Jdbye

    Getting this error after updating to 0.71:
    On b798.

    Edit: Caused by missing the "linessamecolor: true" line in preferences.yml, you should make it add that if it's not there.

    Also, I noticed two bugs:
    - Any empty lines on colored signs with linessamecolor turned on will still have the color code but it'll be displayed as text (e.g. $yellow shows 'yellow' on all empty lines)
    - Colors don't work on wall signs until edited.
     
  23. Offline

    needspeed10

    Strange, I don't even have one of these bugs. I already tested them, but all things you had mentioned worked.
    Maybe a screenshot?
     
  24. Offline

    Jdbye

    Sure, here (but note I changed the speedsign settings to use the original hex color codes since I also have iChat which uses that format)
    [​IMG]
    The only other plugins I have that touch signs is FalseBook (but it happened with CraftBook too), LWC and Stargate, though none of them should be affecting newly placed signs that aren't protected, part of a stargate or using a craftbook/falsebook feature.
     
  25. Offline

    needspeed10

    @Jdbye : are you sure you have no other plugins which influence signs?
    I tried to set the colors to &6 and so on but it still works.
    Lets clear this up per pn? Just send me your preferences file and your plugin list.
     
  26. Offline

    bfanboy

    Is there any way this can be made to be compatible with icononomychestshop. I love both mods but I just discovered that if a user has permission to use speedsign, when they create a shop using chestshop, they get the message saying creation was successfull. However no one can buy from the shop. When I removed speedsign from the server, it worked again.
     
  27. Offline

    needspeed10

    Ok I'll change it.
     
  28. Offline

    toffo

    Was just trying this plugin and I'm overall quite satisfied with it.

    However, I got some problems with it. I'm using 0.71 on CB 803.
    - Max number of characters are limited to 13 when using this plugin and one color, it is even lower if you add another color. Vanilla MC is 15 chars per line.

    - It isn't possible to change the colorname in the preferences.yml file.
    I've tried the following and none of them changed anything;

    Code:
    4: dark_red
    dark_red: 4
    
    I've tried this plugin solo on the server, without any other plugins which could possibly interfere with this plugin.

    Also, to use the super command, is it a must to have the client mod? Cause when I tried it I got kicked off the server :) If that's the case I won't use it as I don't want to force my users to mod their client to be able to use it.

    I'm also wondering about the double-click, can you do this on any sign or only the signs you've created yourself?
    For admins it's probably possible to do that on every sign, but for normal users, can they double-click any sign?

    Oh and a feature request :) Would it be possible to disable some of the sub-commands?
    The ones I would like to disable are the following; double-click, shout, read, version, super, destroy, clear


    Edit..
    It also come to my mind that when adding for example $dark_red while editing a sign, you can't enter more than 6 additional characters for that line. If you however use the "/sign set" command, you can use the whole 13 characters when using one color, 15 if no color is used still and less if you use more colors, as described above.

    Would it somehow be possible to use the full 15 characters, no matter how many colors you use per line?
     
  29. Offline

    needspeed10

    1. Foreach color you loose 2 chars, that's not changeable cause it's so coded in the mincraft code.
    The only thing you could do, is to use the client mod. It changes exactly this thing.
    2. Super is just working with the client mod. That doesnt anything else then saying to the plugin, that you are a clientmod user.
    3. While typing direct to the signs with colors you lose many chars. But thats the same thing as above.
    If you want you can short the colors to 1 2 3 4 etc...
    4. If you want to change colornames to number it has to be like that:
    Code:
    dark_red: '4'
    5. The double click just works if you're admin or have permissions for that sign.
    6. If you want I could set a permission to every command so you can simpy disable them by not giving them to anyone.

    I think that answered all your questions. If I forgot saomething, just tell me.

    @bfanboy
    @Jdbye
    Version 0.72 released
    • (Maybe) Fixed problem with other plugins using onSignChange

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  30. Offline

    toffo

    1. Ah right, so it's like all the other color mods, only two characters, that's just fine :)
    4. Perfect, that explains why it didn't work when I tried without the dots ;)
    5. Okies, good to know! Would it be possible to disable it with point 6 below?
    6. That would be awesome! I don't want you to think you've added features that aren't good or something like that, all the functions are great, but if it would be possible to choose which commands are available that would be even greater :)

    This goes for all plugins, if it would be possible to disable some commands in some plugins, you could create the perfect server-plugin world :p

    But sure, if you could add so that we could disable some commands, you would certainly hop up and be one of the best plugin creators in the world! Well, at least in my world ;) I would really appreciate it and I hope others will too.
     
  31. Offline

    mavbear

    Sign contents will randomly disappear? I'll be editing a sign, or even a few minutes after finishing editing a sign, all its contents will disappear. Yikes!

    ..Also, looks like any user can edit signs using '/sign set', it is not restricted to admins / people with specific permissions. Ruh roh!
     

Share This Page