[MISC] SpoutText 1.00 - Place text anywhere [1000]

Discussion in 'Inactive/Unsupported Plugins' started by CainFoool, Aug 8, 2011.

  1. Offline

    CainFoool

    SpoutText - Place Text Anywhere!
    Download: JAR

    [​IMG]


    SpoutText lets you, via a configuration file, place text anywhere!
    In the location: in the config.yml file, you can use the following things:

    • top-left
    • top-right
    • bottom-left
    • bottom-right (very little space)
    • health
    Spout Client Mod IS NEEDED SO STOP ASKING.

    You can modify the colour of the text by using HTML HEX Code (eg. FFFFFF for white, FF0000 for red).

    Features
    • Place text anywhere
    • Can reload the config using /spouttext
    Permissions (Permissions 2.x, 3.x, GroupManager and PEX)
    spouttext.use = Lets you use /spouttext to reload the config.

    Known Bugs
    None

    To-Do
    Add names for the HTML HEX.

    Changelog
    1.00 - Released
     
    Taranis01 likes this.
  2. Offline

    jasvecht

    Question, how would those hex codes be used exactly? Great plugin for the rest. Oh, and spouttext reload is broken.
     
  3. Offline

    crysis992

    Something like a global On/off Command for Admins would be cool.
    Example:
    I just want to show a info text for 10 seconds or something like that and not permanent.
     
  4. Offline

    CainFoool

    No, it's just /spouttest. Nothing else.
    Hex Codes: FFFFFF is white. Look them up.
     
  5. Offline

    Adelion

    Hi CainFoool,

    Nice work again.
    Can't test now (my Spout client doesn't work anymore), but I will.
    Is there a way to make (in the future) a "playlist" to show differents texts (and I hope at different places)?
     
  6. Offline

    jasvecht

    Ahh, typing reload gave an error and removed the texts/


    I know what hex codes are, but not how to use them.

    EG, %FFFFFF%MyText
    or FFFFFFMyText
    Got the problem? :p


    Edit: Still throws an error without the reload, ill see if I can copy it over, it's problematic because its rather long and I run it in Screen.
     
  7. Offline

    CainFoool

    Make sure you're not putting in any spaces. I will fix it later.
     
  8. Offline

    jasvecht

    Mmm, alright. This is the current file config :
    Code:
    spout:
        position: top-left
        text: Welcome to **notadvertising**! (Version 0.7.5)
        position: bottom-right
        text: /Rules for Rules
    it INSISTS on removing the top piece, but why? :\
     
  9. Offline

    djrazr

    Sorry but .. as he said before.. How wo use fkn colour .. red is givin me eyecancer :p
     
  10. Offline

    Grammar Troll

    #000000
    #C0C0C0
     
  11. Offline

    Drat333

    Can you make it so that you have text floating within the world, not just in the GUI? Sort of like Augmented Reality apps on phones?
     
  12. Offline

    Daninator1

    It seems like I have a general problem with Spout! :(
    Your plugin doesn't work for me. If I join I get this error:

    Code:
    2011-08-09 13:20:23 [INFO] Whitelist: Player Daninator1996 is trying to join...
    2011-08-09 13:20:23 [INFO] allow!
    2011-08-09 13:20:23 [INFO] Daninator1996 [/127.0.0.1:4951] logged in with entity id 780 at ([world] 7.78125, 86.0, 78.28125)
    2011-08-09 13:20:23 [INFO] [AuthMe] Player Daninator1996 was automatically logged in by session.
    2011-08-09 13:20:24 [INFO] [Spout] Successfully authenticated Daninator1996's Spoutcraft client. Running client version: 101
    2011-08-09 13:20:24 [SEVERE] Could not pass event CUSTOM_EVENT to SpoutText
    java.lang.NullPointerException
        at me.cain.spouttext.SpoutL.onSpoutCraftEnable(SpoutL.java:20)
        at org.getspout.spoutapi.event.spout.SpoutListener.onCustomEvent(SpoutListener.java:24)
        at org.bukkit.plugin.java.JavaPluginLoader$87.execute(JavaPluginLoader.java:855)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at org.getspout.spout.SpoutPlayerListener.onPlayerCommandPreprocess(SpoutPlayerListener.java:108)
        at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:272)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:706)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    I need help!
    EDIT: I made a new server with Spout, Spouttext and Essentials and it worked! oO
    I think there's one plugin having a problem with Spout...
     
  13. Offline

    drampelt

    This happened to me as well if I used /spouttext to reload the config. If I restarted the server or reloaded all plugins it worked fine.
     
  14. Offline

    Kane

    Please don't forget to add your plugin to the wiki http://wiki.bukkit.org/Spout/Plugins
     
  15. Offline

    djrazr

    Okay... not workin..
    whether i use
    spout:
    position: bottom-right
    text:#535334BAMcraft.de
    or
    spout:
    position: bottom-right
    text:#535334 BAMcraft.de

    (Yes YAML/Phyton Syntax..)
    It always sets to default after restart...
     
  16. Offline

    Grrrr159

    Superperms support please :D
     
  17. Offline

    km3r

    Could you make it so it displays online players, and if online players is over x (configurable) it would flip through them at 10 names 10 secounds
     
  18. Offline

    FlayaN

    Actually its:
    position: bottom-right
    text: BAMcraft.de
    color: 535334
     
  19. Offline

    Shinfo

    Exactly what I have been asking for, thank you!
     
  20. Offline

    mrgreaper

    can you make it so that we can change it on the fly from inside the game?
    so welcome to our server becomes SERVER GOING DOWN FOR UPDATE IN 10 MINUTES for example

    and have it cycle between multiple text lines

    1) welcome to our server
    2) do not swear
    3) do not grief
    4) no bunnies
    5) no mimes
    6) have fun
     
  21. Offline

    xZise

    Nice idea, could be possible to display dynamic stuff. For example to show the speed of a player?

    Fabian
     
  22. Offline

    embty

    This surely requires client mod right? you should mention that in all your plugins to make it easier for you :p
     
  23. Offline

    TheGurw

    The 'reconnect to see the changes' instruction is incorrect. using /spouttext tells me to do that, but when i relog i get the following error:
    I end up having to do a full reboot of the server to see the changes.

    Also, the text is always entered from the left, no matter where it is positioned. This results in text being cut-off if it's in the top-right and too long.
     
  24. Offline

    CainFoool

    There is no way for me to align it if it's too long.
    Technically there is but it would take a really long time.
    Just try and keep the text short.

    Top-left is the best place for text or the health.
     
  25. Offline

    TheGurw

    Yeah, the problem being that's where SpoutWallet puts its text by default.
     
  26. Offline

    dak393

    Seconded! :D
     
  27. Offline

    haschtekaschte

    Arg it just wont work here is my config the top left text is not there
    Code:
    spout:
        position: top-left
        text: Welcome on haschtekaschtes Server =)
        position: health
        text: Your Health
        color: FFFFFF
     
  28. Offline

    omnija

    thanks easy,basic and useful :)
     
  29. Offline

    25CentStudios

    It doesnt work..


    Code:
    spout:
        position: top-right
        text: MyCraft V.5. Spout is required!
        color: FFFFFF
     
  30. Offline

    HockeyMike24

    Is it possible to put it on a timer so after a certain amout of time new text will appear. Could have 5 different things cycle through in one spot.
     

Share This Page