[INACTIVE][MISC] SignColours v0.3 - for allowing coloured text on signs [672]

Discussion in 'Inactive/Unsupported Plugins' started by Edward Hand, Feb 12, 2011.

  1. Offline

    Edward Hand

    SignColours v0.3

    This plugin allows all players on the server to add coloured text to signs. Simply use the # character followed by a hexidecimal digit (0-f) to give the rest of that line a colour.

    Instructions

    Colour codes are the same as chat message colours:
    [​IMG]
    using a # in a sign in any other circumstances will keep the # symbol

    As an example, adding the text to a sign:

    #4###WARNING###
    #6Land Mines
    so be #Ecareful
    (or #fdie#0)

    results in:

    [​IMG]

    (and as you can see it shows up quite well at night)

    Permissions

    To customise permissions, you can add any of the following to your permissions plugin config.yml (permissions subsection):

    #Allow user to use the colour yellow (e):
    - 'signColours.e'
    #Allow user to use all colours:
    - 'signColours.*'
    #To avoid offending anyone's sensibilities, American spelling works too (here for allowing red):
    - 'signColors.4'

    Permission Notes:
    • As many or as few colours can be added as desired
    • If someone without permission uses a hash-code, the hash-code will remain there unchanged
    • Anyone who can use any colour will automatically be allowed to use black too
    • In permission definitions, the hex digits must be lower case (a,b,c rather than A,B,C). Signs are not case sensitive, however
    • If the permissions plugin is not installed, colours are enabled for everyone
    Feature Summary
    • Allows players to easily add a variety of colours to their signs
    • Compatible with the Permissions plugin
    DOWNLOAD LINK:
    http://www.srcf.ucam.org/~eh392/minecraft/SignColours/SignColours0.3.zip
    (source code is included)

    Change log:
    version 0.1
    • Plugin Released
    version 0.2
    • Added Permissions plugin compatibility
    version 0.25
    • Compatibility bug-fix
    version 0.3
    • Major Bugfix (eliminating possibility of sign corruption)
     
  2. Offline

    dslip

    Author,

    Please support the auto-updating plugin CraftBukkitUpToDate. To do so please provide a permanent direct link to the author of CraftBukkitUpToDate.

    The below is information they provide
    Show Spoiler

    My Plugin didn't supported, how i get it to work with CButD?
    Give me a permanent link to your Plugin, i will add it. That's all no changes at your SourceCode or something else, all I need is a permanent link to the newest version of your Plugin. A good place for this is http://www.dropbox.com/ or for OpenSource https://github.com/.


    I really enjoy using your plugin and would like to see it work well with the above listed 'updater' plugin.
     
  3. Offline

    Shamus03

    hey could you add a command like "/signcolors" and "/signcolours" that tells you all the colors. Just like the screenshot you provided, it just says "0" in black, "1" in blue, "2" in green, etc. That would be VERY useful.
     
  4. Offline

    Psycho Robot

    You can do this very easily using another plugin, MCDocs
     
  5. Offline

    Kane

    Hello, Just to let you know recommended is now 602 of this post :)

    http://ci.bukkit.org/job/dev-CraftBukkit/
     
  6. Offline

    Edward Hand

    Kane likes this.
  7. Offline

    deadlock989

    Hi, just to let you know that the ever-shifting quicksand of Bukkit means that the recommended build is now 612, and it seems to have broken SignColours on my server. I get no errors at load, and existing coloured signs are OK, but can't create new ones (it just shows the # code in black).
     
  8. Offline

    Kane

    Strange I wonder if something changed or if this was build with the wrong jar.
     
  9. Offline

    Edward Hand

    @Kane
    Just an error when the bukkit team where switching over to 1.4. Considering how impressively fast they did everything its hardly surprising there were a few mistakes.
    My twitter feed informs me that the bug was fixed 3 hours ago, and therefore everything should be working again when you next update.
     
  10. Offline

    deadlock989

    Yep, recommended build is now 617 and it's fixed. Thanks.
     
  11. Offline

    Kane

    Thanks :)
     
  12. Offline

    Jessicadawn

    Does this work for 1.4 now? Andwhat bukkit build?
     
  13. Offline

    IIGoldII

    I have an extreme issue here.I place a sign(as shown below),and no color.Log out and back in,I get the color!?!?
    Any recommendations for a fix besides updating to 617?
    CFB 612

    Right when I place it:
    [​IMG]

    After I log out and back in:
    [​IMG]
     
  14. Offline

    Edward Hand

    Yeah. Deadlock had the same problem a few posts up.
    Updating to 617 fixed it.
    Since it was an error in bukkit, there's nothing that can be done about it from my end.

    Works fine on 617+ (but not 612)

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

    IIGoldII

    Ok.Will update to 617 asap.
    Thanks for the pointer.
     
  16. Offline

    halvors

    Can you please include source in the .zip? It is not there...
     
  17. Offline

    fugue2005

    cb617
    signcolours 0.3
    Code:
    2011-04-02 21:36:59 [SEVERE] BLOCK_RIGHTCLICKED loading SignColours v0.3 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
        at com.edwardhand.commandsigns.CommandSigns.onEnable(CommandSigns.java:44)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  18. Offline

    halvors

    This is because you don't run 556 but a newer version.
     
  19. Offline

    Edward Hand

    It says signcolours but only because I copy+pasted my plugin.yml and forgot to change the name to CommandSigns. There's a new version of CommandSigns out (0.4) that will fix this for you.

    really need to fix that plugin.yml....
    It's CommandSigns you want. v0.4 is compatible.

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

    Steve Member

    Thanks Edward all sorted :)
     
  21. Offline

    anon

    Just to report that it works on 670 : )
     
  22. Offline

    Liger_XT5

    I've downloaded the v0.3 off the main post at least 3 times and installed it, it still shows as .1 in the server log and I get this error every time I start up.

    Code:
    2011-04-08 11:42:14 [SEVERE] BLOCK_RIGHTCLICKED loading SignColours v0.1 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
        at com.edwardhand.commandsigns.CommandSigns.onEnable(CommandSigns.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
     
  23. Offline

    Edward Hand

    Haha I'm a bit rubbish with my plugin.yml!

    Upgrade CommandSigns to version 0.4
     
  24. Offline

    Liger_XT5

    Thanks, did that and seems to work flawlessly now! Thanks
     
  25. Offline

    Darq

    Works like a charm.
     
  26. Offline

    MiHo

    Greate Plugin! I like it.
     
  27. Offline

    Unscrewed

    Hello Edward Hand,

    I placed my .jar in my /plugins/ folder, updated to the newest recommended builds of both Bukkit and Craftbukkit,
    and it's still not working. :( I don't get any console messages (Dedicated Server) but complicated things like BigBrother (I know it's something completely different) Do work!

    Craftbukkit: b670
    Bukkit: 652

    Greetings,
    - Unscrewed
     
  28. Offline

    Edward Hand

    Have you given yourself the relevant permissions?
     
  29. Offline

    Unscrewed

    I have '*' permission.
     
  30. Offline

    Sany_CZ

    Can you add on/off plugin to this one. thouse too dont work together and it will be nice to have them both.
     
  31. Offline

    10se1ucgo

  32. Is this compatible with 677? :)
     

Share This Page