Inactive [INFO] TutorialSigns v1.5 | Long messages with signs! [1.3.1-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by ronyzzn, Jul 27, 2012.

  1. Offline

    ronyzzn

    [​IMG]

    What is TutorialSings?

    TutorialSigns is a simple and usefull plugin! You place sings with a given tag and a text-id, and when someone rightclick it, he/she will get an dynamic message! You can create as many messages as you want!

    Visit the BukkitDev page.

    Video by chickeneater2345 (Thanks a lot ;) )


    Setting up a TutorialSign:
    - Ingame -

    Place a sign and:

    1.) Write in the first line '[TutorialSign]'

    [​IMG]

    2.) Write in the second line your Text-ID

    [​IMG]

    If there is the given text-id in your config.yml , everyone can rightclick it and get the message!

    - config.yml -

    Create a new entry! This name is your Text-ID!

    [​IMG]

    **Attention: You must save your config and reload your server!**




    How to use/install?

    - Use -
    Simply do a rightclick on a TutorialSign and get its message!

    - Install -
    Simply copy the TutorialSigns.jar into your plugins folder and restart/reload your server!

    Attention: Java7 is requied!!

    Version 1.2 has now an external file for text-id's - Copy your old text-id's into the sings.txt!


    Version 1.4 has now an external file for editing messages!

    Features

    * Simply rightclick a sign with the given text and the player will get a message, defined in your config.yml
    * Simply setting up new signs.
    * Simply set text-id's via command
    * External file for text-id's
    * Simply set a cooldown for using signs (to stop spamming)
    * [idea by tommytomtoo] Change the text requied for create a sign in config.yml
    * A default color, if you wouldn't add a color tag for each text-id! (Now is no § or & needed anymore! If you use & + Color-ID you will get an NullPointerException!)
    * Simply change your messages in locale.yml!
    * Added variable for the name of the player who clicks a TutorialSign: %user
    * Added line breaks with %nl

    Ideas for the future?! Post it here!

    Commands & Permissions

    Command:

    /tutsigns add <text-id> <content>


    Chat colors ingame with & + color-id!

    Permissions:

    - tutsigns.add (or OP)

    Locale.yml

    You must replace your old locale.yml with this locale.yml!

    German locale.yml - DIRECT DOWNLOAD


    You can send me a locale.yml with a language you choosed and I will add it ;)

    Bugs

    Following are informations to this Error:

    Code:
    2012-08-09 13:50:28 [SEVERE] Could not pass event PlayerInteractEvent to TutorialSigns
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:619)
        at net.minecraft.server.Packet15Place.handle(SourceFile:58)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:281)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NullPointerException
        at de.ronyzzn.tutorialsigns.Listeners.OnSignClick.onPlayerInteract(OnSignClick.java:34)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
        ... 16 more
    I have initialised a variable with null! So there is a null pointer excpetion! In version 1.4 this Bug will be fixed! The file for v1.4 is already uploaded but not approved yet!

    Download

    Download now on BukkitDev!

    Changelog

    Code:
    //** - Version 1.0 -**//
    28.07.2012
    - First public release & Update to [1.2.5-R5.0]
     
    //** - Version 1.1 -**//
    28.07.2012
    - Fixed cooldown & Added idea from tommytomtoo
     
    //** - Version 1.2 - **//
    02.08.2012
    - Added new file (signs.txt) which will be created by first start
    - Updated to BuppitAPI 1.3.1-R0.1
    - Added command and permissions for the new command
     
    //** - Version 1.3 - **//
    06.08.2012
    - Changed config.yml updating
    - Fixed error while creating text-id (via command) which already exists!
    - Fixed no permission message
              - signs.txt now supports & + Color-ID ,too.
     
    //** - Version 1.3.1 **//
    08.08.2012
    - Bugfix: Problem with & + Color-ID colors!
     
    //** - Version 1.4 **//
    09.08.2012
    - Bugfix: No NullPointerException anymore!
    - Added locale.yml for editing messages
     
     
    /** - Version 1.5 **//
    13.08.2012
    - Default color is now only the Color-ID without § or &
    - Added line breaks with %nl
    - Added variable for the name of the player who clicked a TutorialSign: %user
    
     
    Deepseadragon likes this.
  2. Offline

    tommytomtoo

    good idead, but maybe it should be like [TUTORIAL] In blue or something?
     
  3. Offline

    md_5

    Please include a changelog.

    Approved

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

    ronyzzn

    Thanks! I've forgotten to upload the .jar :D... Now availible on BukkitDev!

    tommytomtoo: I will add an dynamic text for the first line, which can be changed in your config.yml ;)

    Changelog:
    • Updated to BukkitAPI 1.2.5-R5.0
     
  5. Offline

    VivaDaylight3

    There is still no download link on BukkitDev.
     
  6. Offline

    ronyzzn

    I uploaded the .jar! The file must be approved, before you can download it ;)

    Edit://

    Download is now available on BukkitDev!
     
  7. Offline

    VivaDaylight3

    Oh, It's just that you said that it was available :) What are the connection details for the file hoster?
     
  8. Offline

    ronyzzn

    Now its available! (Under the Link to BukkitDev was written: Not approved yet ;))
     
  9. Offline

    VivaDaylight3

    Brilliant :) This looks like a great plugin. I'm not a plugin description expert :) But shouldn't you have the description near the top? People want to know what it does before configuring it :)
     
  10. Offline

    ronyzzn

    I think you're right... Changed main post ;)
     
  11. Offline

    tommytomtoo

    good man!
     
  12. Offline

    IdealIdeas

    Can we write anything in the bottom 2 lines or will it see that as a tutorial?

    Because I could DEFINITELY use this plugin.

    People are always questioning how even the easiest commands are confusing.
     
  13. Offline

    ronyzzn

    Yes, there you can write everything you want ;)
    EDIT://

    A new version is out!

    Changelog:
    • 28.07.2012 - Fixed cooldown bug & Added idea from TommyTomToo
     
  14. Offline

    IdealIdeas

    wow 1.1 already? I just got 1.0 today and now there is already a 1.1 and it deletes my previous config?!

    Oh well good thing I havent utilized it yet,
     
  15. Offline

    ronyzzn

    Yea I would fix the cooldown bug as fast as I can, and there it is ^^ :p

    PS: It delets your old config, because there are new settings.
     
  16. Offline

    ronyzzn

    Updated:

    Changelog:

    • 02.08.2012: Added new file (signs.txt) which will be created by first start
    • 02.08.2012: Updated to BukkitAPI 1.3.1-R0.1
    • 02.08.2012: Added command and permissions for the new command
     
  17. Offline

    ZoNeXyS

    How To Set A Text-ID :

    #Here you can change the tag to create a new TutSign.
    sign: '[Sign]'
    #Here you can set the Messages! Colors with the § -Symbol and the given letter or number
    info: 'Welcome to City Builder , In This server You can build free houses alone or with friends Have Fun!'
    owner: 'The Owner is: ZoNeXyS'

    if you now do this on a sign:
    [sign]
    owner

    it will say who is the owner
    or
    [sign]
    info

    will give information about the server.
     
  18. Offline

    ronyzzn

    That is not the background idea of this plugin! But I am planning a feature which should be called 'ActionSign'. There you can set up things done by signs! For example if you type [TutorialSigns] (or whatever) and in the next line [Action] and in the next line the choosen action... Wait and see. If you can not wait, maybe contact the author of TheSigns ;)
     
  19. using the 1.3.1 version of this plugin & the color codes aint working.
    http://www.minecraftwiki.net/wiki/Classic_Server_Protocol#Color_Codes

    Code:
    #This is the new file, for adding text-id's!#The format is ->  text-id: contentexample: §eThanks for using TutorialSigns!
    Rules: No Hacks, No Flaming, No Racism, No Spam, No Advertising, No Grief
    Protections: Chest Protections: [private] PLAYERNAME or right click sign with chest/furnace/workbench/enchant table etc. --- &a Area Protections: Ask from &9MODS &a or &4ADMINS&a.
    PvP: Player Versus Player (PVP) is &4DISABLED &eat the moment.
    Commands: &2Player Commands: &a /sethome *Name*&2 ,&a /delhome *name*&2 ,&a /Home *name*&2 ,&a /buy&2 ,&a /spawn&2 ,&a /mcc&2 ,&a /lockette &c --- &1/Buy shows the server shop and what you can buy with real life money ---
    
     
  20. Offline

    ronyzzn

    In the signs.txt you must use § + Color-Value (I'll change this next update ;) )

    Updated:

    Changelog:
    06.08.2012
    - Fixed error while creating text-id (via command) which already exists!
    - Fixed no permission message
    - signs.txt now supports & + Color-ID ,too.
    - Changed config.yml updating

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  21. Commands: &9 /sethome &a- &9 /delhome &a- &9 /home &a- &9 /spawn &a- &9 /buy &a- &9 /mcc &a- &9 /mctop &a- &9 /stats &a- &9 /lockette


    Had this and it posted &9 marks everywhere... using ur newest one :D

    Every other one of my messages work but if there is / mark , it wont work
     
  22. Offline

    xS1L3nTx

    Somehow it doesnt work:
     
  23. ronyzzn i have a problem
    In my signs.txt
    Moderators: &9Jango94 &a- Apply at &fwww.semicraft.freeforums.org


    the message in game
    [​IMG]

    and yes, im using the newest possible version for 1.3.1 and using recommended 1.3.1 bukkit
     
  24. Offline

    ronyzzn

    Semirotta: Thanks for reporting, next update I'll try to fix it ;)
    @xS1L3nTx: I have no Error! Delete TutorialSigns folder and dowload a new TutorialSigns.jar !
    Semirotta (again :p): I know this, I've seen it too late :/ -> Will be fixed next update!
     
  25. Offline

    CoolCraftServer

    Your Java Is Outdated -_- Either That Or You Have Multiple Plugins Conflicting With Each Other

    Actually I Think You Typed The Config Wrong. Just Send Me A Download Link Or Reply To This And Show The Config. Also Try Deleting Your Config File Because That's Maybe Why. "Example" "If I Spell True Wrong In A Config It Will Mess Your Hole Entire Config Up And Will Give You An Error Trust Me I Am A Java Programmer And I Am Making A Dead Island Mod Right Now." "WIP"

    If It Does That Just Back It Up

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

    ronyzzn

    A small Update (a bugfix)

    Changelog:
    • Fixed bug with color codes!!
    • Update to BukkitAPI 1.3.1-R1.0 (Recommended Build)
     
  27. Offline

    xS1L3nTx

    That cant be, the server is hostet on nitrado. All other Plugins work fine.

    The 1.3.1 version isn't working either, the error message is like my post before... - I deleted all files and the error is coming even BEFORE the new files are created:
    I marked some obvious places - Maybe it tries to load a configuration, even it doesnt exist yet?

    Other Plugins i am using are:
    World Portal, Groupmanager, Worldedit, Vault, Logblock, Multiverse-Core, WorldGuard, iConomy, AuthMe, Permissions, BioMed, AdminPrivateChat, FalsbookCore/Cart/Block/IC/Extra, Essentials, EssentialsSpawn/Chat, Pluginsbaker, LWC, dynmap, iGates, ChestShop, TutorialSigns

    Here is the configfile:
    Code:
    #This is the config.yml from TutorailSigns by ronyzzn! Here you can change something ;)
    # -- MAINSETTINGS --
    #Do not change this!!
    version: 0.4
    # Cooldown between using signs in secounds. -1 for none cooldown.
    cooldown: -1
    #Here you can change the tag to create a new TutSign.
    sign: '[TutorialSign]'
    #Default TextColor
    defaultcolor: §e
    And this is the signs.txt:
    Code:
    #This is the new file, for adding text-id's!
    #The format is ->  text-id: content
    example: §eThanks for using TutorialSigns!
    Hope it helps!

    Wow... cool story bro, im a programmer just like you - even if im specialized in other languages though, they work all partially the same... (To learn Java is currently one of my aims i want to take ;) )
     
  28. Offline

    ronyzzn

    @xS1L3nTx:

    I have no error! My configuration was created successfully!
    The line
    Code:
    2012-08-09 00:23:47 [INFO] [TutorialSigns] - !! -- ------------------------ -- !! -
    2012-08-09 00:23:47 [INFO] [TutorialSigns] <!!>Your config.yml is outdated! <!!>
    2012-08-09 00:23:47 [INFO] [TutorialSigns] <!!>Plugin disabled -> Delete your <!!>
    2012-08-09 00:23:47 [INFO] [TutorialSigns] <!!>config.yml and reload the server<!!>
    2012-08-09 00:23:47 [INFO] [TutorialSigns] - !! -- ------------------------ -- !! -
    Is there, because the version (written in config.yml) is null (there is no config.yml)!
    Try to download this, there already is the generated folder! http://www.share-online.biz/dl/GIM0GH8MT1

    chickeneater2345 made a video ;) Visit main post!
     
  29. Please make for JAVA 6 !!!
    I want to use your plugin ! :'(
     
  30. Offline

    ronyzzn

    Update!
    Changes:
    • 09.08.2012: After many requests now Java6 compactible!
     

Share This Page