Inactive [CHAT] FancyText - Talk/write with format text, and click links through signs & buttons[1.3 R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by dillyg10, Mar 23, 2012.

  1. Offline

    dillyg10

    FancyText v 1.4: <Edit by Moderator: Redacted bit url>

    This plugin uses DillGet

    Description:
    If you are like me, you jumped on the minecraft wiki to see the new update. You couldn't believe your eyes when you saw bold, underlined, italicized, and strikethrough text!! But wait.. it said that you cannot do this on vanilla client ;(. So, I took the initiative to bring everyone a plugin working with 1.2.4 to allow you to talk in bold underlined italicized and strikethrough text! Now, with v 1.2, you can format text on signs, and to make it even beter, you can get players to click links through signs and buttons!! Even better, with the 1.3 update you can view the stats on your links!
    Video


    Show Spoiler


    How do I do this?
    It's simple really, you put an & and then the color code you want to use. Color codes stack, so you can have bold green text. To reset all of these styles you do &r.

    Show Spoiler
    &0 - Black
    <font color="#000080">&1 - Navy Blue</font>
    <font color="#003300">&2 - Dark Green</font>
    <font color="#008080">&3 - Dark Teal</font>
    <font color="#800000">&4 - Dark Red (maroon)</font>
    <font color="#800080">&5 - Purple</font>
    <font color="#ffcc00">&6 - Gold</font>
    <font color="#c0c0c0">&7 - Gray</font>
    <font color="#808080">&8 - Dark Gray</font>
    <font color="#0000ff">&9 - Blue</font>
    <font color="#00ff00">&a - Green</font>
    <font color="#00ffff">&b - Aqua </font>
    <font color="#ff0000">&c - Red</font>
    <font color="#ff00ff">&d - Pink </font>
    <font color="#ffff00">&e - Yellow</font>
    <font color="#000000">&f - White </font>
    &l - Bold
    &m - Strikethrough
    &n - Underline
    &o - Italicize
    &r - Reset (this will remove all color bold etc)


    This is the same for signs!

    Links?:
    So what do I mean by send players links? When a player right clicks a sign that you have set, it will send them a message that you have configured. This can be found in the config.yml. All you have to do is enter a simple command, /setsignlink , and then right click the sign you want the player to click, and boom it will setup! All of the signs are found in the config :). The sign can have ANY text on it, and you can remove the sign without removing the link. If you want to setup a different link, you just enter the same command again and right click! Simple! Then the player right clicks the sign, and it sends them the message you have configured NOTE: Use %l for link in the config.yml. The same method goes for using buttons :). And, with the new 1.3 update, everyone some one clicks the sign, the stats are tracked!
    PLEASE NOTE: If you want your link to be underlined, you must put a space between the &n and the link!

    Commands:
    Permissions:
    Changelog:

    * v.1.4 - Added support for DillGet
    * v.1.3 - Updated to Minecraft 1.3, AND added link stats!, Also MCStats tracking (thanks Hindera <3)
    * v 1.2.1 - Bug fixed
    * v 1.2 - Fixed bug, added the ability to make buttons links!
    * v 1.1 - Added sign colors, added the ability to click signs, and send user links!
    * v 1.0 - Initial release!
     
    Last edited by a moderator: Feb 19, 2017
    HunterT, gameswereus and DaveDee like this.
  2. Offline

    Insanehero

    Nice plugin bro.
     
    afistofirony likes this.
  3. Offline

    dillyg10

    <3
     
  4. Offline

    Kidmeepples

    Sounds fancy! Ill give it a try.
     
  5. Offline

    dillyg10

    New version: V 1.1 adds sign colors, and the ability to click links through signs! Simple command to do so, enjoy and leave feedback !
     
  6. Offline

    tyzoid

    dillyg10
    My plugin, Colors, implements most of this (apart from signs).

    If you would like to merge plugins, that would help new users from having to sift through 17 chat plugins.

    The other option is to have this plugin as a separate add-on for colors. Then we don't have to modify code bases much, and you retain independent development.
     
  7. Offline

    dillyg10

    I was actually thinking of making the URL part it's own plugin :). Does Colors allow for color signs?
     
  8. Offline

    tyzoid

    Nope. Like I said, Colors does nothing with signs.
     
  9. Offline

    TheLimaBeanman

    Wow... Nice work.
     
  10. Offline

    dillyg10

    Hmm... well i'll do some thinking, I might just change the name of the plugin :D. But.. as for now things seem to be working :).

    Thanks :).

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

    tyzoid

    I wasn't asking for you to change the name, I was wondering if you wanted to merge plugins so users wouldn't have to sift through umpteen more chat plugins.

    If you would like to retain independent development, then I wish you luck.
     
  12. Offline

    deimos161

    hey im getting this spamming my consol and logs

    2012-03-25 18:44:05 [SEVERE] Could not pass event PlayerInteractEvent to FancyText
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:179)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:889)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:117)
    at net.minecraft.server.Packet18ArmAnimation.handle(SourceFile:38)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at com.dillyg10.FancyText.Events.onPlayerInteract(Events.java:97)
    at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 14 more
     
  13. Offline

    dillyg10

    Hmm... lemme check that out :). Did you reload the plugin before you got this error ?
     
  14. Offline

    deimos161

    Yes I have restarted my server a few times as I am adding in new plugins XD
     
  15. Offline

    dillyg10

    Hmm... this error is odd as I can't get it to repeat so that i can figure it out. Hmm nvm i actually think I fixed it, I"m oing to upload a new version now :).

    New version 1.2! Fixed bug, and added the ability to use buttons as links!!

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

    deimos161

    hmm fancy text 1.2 is in but still getting

    2012-03-26 19:44:27 [SEVERE] Could not pass event PlayerInteractEvent to FancyText
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:179)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:605)
    at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at com.dillyg10.FancyText.Events.onPlayerInteract(Events.java:100)
    at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 13 more

    We are running
    bukkit dev build 2117
     
  17. Offline

    dillyg10


    This is really strange, I cannot re-create anything that would cuase this error. What were you doing before this happened?
     
  18. Offline

    deimos161

    nothing, this is just popping up when ever someone does something. like EVERY time.
     
  19. Offline

    dillyg10

    I'm going to try and mabey upload a version I have now, and see if it gives you luck,. Please send me your config though.. that could be the problem.
     
  20. Offline

    deimos161

  21. Offline

    dillyg10

    try remaking config? Like delting it and then letting the plugin make a new one. It could be somehting like a weird spacing error etc etc..
     
  22. Offline

    deimos161

    Have done so but we are still getting errors.
     
  23. Offline

    tyzoid

    dillyg10
    You should release the source on github...
     
  24. Offline

    dillyg10

    Don't have a gitty :/. Will get one soon tho :p.
     
  25. Offline

    deimos161

    any news on our error? its really clogging up my .log and I mean REALLY clogging it up
     
  26. Offline

    dillyg10

    Again, is there like anything you do before you get it? Or does it just like startup on the startup of the server? Because again I cannot re-produce this error, and I'm not entirely sure what is causing it.
     
  27. Offline

    deimos161

    no idea what is causing it too, it just starts on start up. If I cant get it fixxed I migth have to remove it :(

    could it be spout?

    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:169)


    So I was askign on bukkit and they think that the error is spamming that error when a player right or left clicks anything, and whatever is on line 100 of the Events.java is causing it.

    OK yeah it most defintly only spits out errors when I left click.

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

    dillyg10

    Because the errors start on startup, it isn't a player ting.. it appears it is a spout problem.
     
  29. Offline

    Elaclairee

    Made an account just to jump in here and help out this confusion, someone should feel special.

    I tested the plugin with deimos last night on his server. We were using build 2124 of bukkit at the time, and after testing several situations we found that it is left clicking that causes the error. I'm unsure if its a op'd related problem, or a build problem, but it is most certainly not spout as we had removed it and it was still doing the same error.

    I'm unsure if the error is still happening since we updated to the rb, I'll have to check with him on that. But somewhere somehow there's a event handling problem in someone's code, I just don't know who. Hopefully either the rb fixed it, or you can find a solution because I really love what this plugin does. I was the one who found it and am currently the one trying to convince the powers at be to keep it in and find a solution to the issue.
     
  30. Offline

    dillyg10


    YES! THANK YOU!! I got the error to repeat, lemme try to fix it now :D. Sorry to everyone who this aerror has effected!

    Ok guys, you can go ahead and donload the bug fix, version not changed though. Tell me if it works :).

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

Share This Page