[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

    In the moment it needs to be '$' but i don't see any reason to change it.
    Maybe i could make a config file where you could chose it,but it doesn't seem such important to me.
     
  3. Offline

    needspeed10

    Version 0.5 released

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

    Ratte

    Color doesnt seem to work on my server (670), i just see the $3 on the sign. Do i need any other mod for this to work?
     
  5. Offline

    needspeed10

    You have to put the color name there like: $red or $blue
    The tutorial video is finished. It just has to be uploaded now.
    There is all detailed explained.
     
  6. Offline

    Ratte

    full color name sure takes a lot of space... but it works, thanks!
     
  7. Offline

    needspeed10

    The place is no problem anymore with my overload feature!!
     
  8. Offline

    Ratte

    yea but you have to activate it before you can use it, so it's hard to tell everyone how it works O:
     
  9. Offline

    needspeed10

    The overload works without mod and toggle too.
    The toggle is just to let it work with the mod.
    You just have then to use the commands like "/sign set 1 verly long text over 15 characters"
    You'll just need the permission node
     
  10. Offline

    Ratte

    Okay, but then still you have to type it by command, that's what i mostly want to prevent because there are already lots of commands from the most mods. It would be just nice to have a shortcut for colors! Don't get me wrong. I really like your plugin!

    I noticed there is a problem with editing signs if they're more than 3 blocks above you or many signs near by each other. It sometimes edits a sign i don't look at.
     
  11. Offline

    needspeed10

    Yes I noticed that too. I think that has something to do with Craftbukkit.

    A question : Are you using the client mod?
    It facilitates the sign editing much.
    The shortcuts for colors will come in the next version where u can choose them all in the config file.
     
  12. Offline

    Ratte

    No i don't use the client mod. For me there is no problem with commands, i just think about the most users who don't want to learn so many commands to use the most server plugins
     
  13. Offline

    Nathan Kamenar

    So is there a way to see a list of all possible colors? Was trying purple but it doesn't seem to be one of the possible colors.

    EDIT: Found a list here:
    http://javadoc.lukegb.com/BukkitJD/org/bukkit/ChatColor.html

    Also I have a feature request. Would it be possible to add a command that would change the color of a line of the sign? Such as:
    /sign color {line number} {desired color}
    And it changes that whole line to the color you specify? It is annoying to go back and color old signs because you have to retype everything on them because there is no in game way to add something to the start of a line.
     
  14. Offline

    needspeed10

    Yes I'll add it. But should it change all colors of a line to it or just the first?
    How would be a feature for adding text to left side: eg: /sign add -1 text ?
     
  15. Offline

    eisental

    I would suggest /sign insert <line> <text> or /sign ins, /sign prepend, /sign pre.
    So are you using the ChatColor color names or the classic color codes?

    Definitely the best bukkit sign plugin :p
     
  16. Offline

    needspeed10

    Thanks :)
    Im using the ChatColor names.
    I'm thinking of something like: /sign ins <line> [index] <text>
    and something like: /sign rem <line> [-line2] <index> [-index2]
     
  17. Offline

    Ratte

    The overloaded signs don't get saved if you change map or (not sure) if the server restarts. Any fix for this? :(
     
  18. Offline

    needspeed10

    The signs are saved if the server restarts...
    But I don't get what you mean with mapchange?
    It would be nice if you could post me your signs.yml in the speedsign folder.
     
  19. Offline

    eisental

    It seems that the 1.5 client doesn't accept long sign lines anymore :'(
    I'm getting:
    Code:
    Internal exception : java.io.IOException: Received string length longer than maximum allowed (16 > 15)
    
    This is on the client. Anybody else getting this? It actually makes my world unplayable at the moment. I'll have to write a truncating plugin or something.
     
  20. Offline

    needspeed10

    I'm wondering how it worked to install the mod, or didn't you install it?
    I could look into the mc 1.5 version and make a separate mod for it.

    Edit:

    Ok I created an overloaded sign in 1.4_01 and then updated my minecraft to 1.5_01.
    The sign simply got truncated, but nothing more.
     
  21. Offline

    eisental

    Oh. maybe it's a RedstoneChips issue. I didn't try to mod the client yet but I thought the mod was only changing the way the sign update is sent TO the server. In this case I think it's the client complaining about a malformed packet sent by the server.

    EDIT: It is an RC issue. Apparently it's 15 including any colors :( The line §4messagecircuit caused the problem...
     
  22. Offline

    needspeed10

    A question how did u get bukkit to work on 1.5?
     
  23. Offline

    eisental

    I downloaded the latest craftbukkit. They pretty much finished updating for 1.5.
     
  24. Offline

    needspeed10

    Version 0.6 released!

    • 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)
    Don't forget I changed all, so there might be still after testing errors.
    If you find one feel free to tell me ^^

    Don't forget to delete your speedsign.yml !!!
     
  25. Offline

    MintTheFox

    i cant overload signs even when i use /sign super
     
  26. Offline

    needspeed10

    If you have the new CB you need the client mod to overload. This clientmod isn't released yet.
     
  27. Offline

    eisental

    needspeed, did you consider this? I'm not sure it will be so easy to override.
     
  28. Offline

    Ratte

    One question: Can you see overloaded signs without the clientmod?
     
  29. Offline

    needspeed10

    before minecraft 1.5 yes
    now not
     
  30. Offline

    Ratte

    Okay.. it worked like 5 minutes ago, i don't know what caused this:
    i'm using bukkit 714, newest speedsign. error is with old and new version.
    Code:
    2011-04-27 23:39:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sign' in plugin SpeedSign v0.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:675)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:638)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:632)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at need.speedsign.SiPermissions.hasPerms(SiPermissions.java:43)
        at need.speedsign.SpeedSign.onCommand(SpeedSign.java:71)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    edit: that bug seems to fixed itself after deleting the speedsign folder and restarting the server.

    but in the new version i got the problem that signs with color codes (which worked before) now give me the message that i should not overload. (they worked with the previous version in 1.5_02 though) Maybe don't calculate the $colorcode to the characters used?
     
  31. Offline

    xsolar66

    Hi, in 1.5_01, playing on a 1.5_02 server, I can still see all the colorful overloaded signs that we made in 1.4;

    However I cannot create them any more - although I can still see my overloaded signs, it doesn't want to create a new one.
     

Share This Page