[CHAT/ADMN] ConsoleName v0.4 - Change the console broadcast name. [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by dbizzzle, Aug 14, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    dbizzzle

    ConsoleName - Change the console broadcast name.:
    Version: v0.4

    <Edit by Moderator: Redacted mediafire url>
    Source(GitHub)

    Ever get annoyed that when you talk in the console it comes up to your members as "(*CONSOLE)" or "[Server]"? Well now you can customize what the console name is. In the config file you will see "ConsoleName: [Console]" you can change the "[Console]" part to whatever you want it to show up as. This command will not work from the server, only from the console. The only difference from the default "say" command is that the command is "t". So to say "hi all" you would type "t hi all" into the console. Added in v0.3, the default "say" command now works and everybody should get the plugin ConsoleLikeChat as it allows you to chat from the console without a command and requires "/" for commands from the console.

    This is the Minecraft colour code, these are what you put in the config file to colour your name:
    [​IMG]

    For the colour Dark Red you can see the number is #4, the only difference is that as with most other plugins, this plugin does not use #, it uses &, so rather than typing "#4[Console]" you would put "&4[Console]" to make it appear as "<font color="rgb(255, 0, 0)">[Console]</font>". You can see an example of this in the config file if you do not understand. You can also change the colour of the text after the name by putting a colour at the end, If you want it to be white just leave the &f in the config.

    <font color="rgb(20, 20, 20)">Features:</font>
    * Allows you to customize the console broadcast name
    * Change the colour of your custom name
    * Works with the plugin ConsoleLikeChat

    <font color="rgb(20, 20, 20)">To Do list:</font>
    * Add plugin reload command.

    Changelog:
    Version 0.4:
    * Prevented duplicate messages

    Version 0.3:
    * Say command now works
    * Hooked into ConsoleLikeChat

    Version 0.2:
    * Added Colour Support

    Version 0.1:
    * Initial Release
     
    Last edited by a moderator: Nov 12, 2016
    efstajas likes this.
  2. Offline

    dbizzzle

  3. Offline

    douglas_srs

    Thank you very much!
     
  4. Offline

    544nick101

    This is a awesome plugin but one bad thing you cant color the chat of the server. Say you put in ?&1?&2? it will say ? if you put in &1How do you do it will say nothing just [Console]. I am using herochat
     
  5. Offline

    dbizzzle

  6. Offline

    544nick101

    If you could that would be EPIC :D

    Just looked at the code only a hundred lines but yet such a epic plugin... :p

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

    dbizzzle

    @544nick101 Yeah, It's pretty lightweight and when you think about it, it doesn't do that much really, it's just convenient and from a code point of view just a loop to broadcast all the commands arguments.
     
  8. Offline

    544nick101

    Hum :p
     
  9. Offline

    soundwaveninja

    outdated D:
     
  10. Offline

    Tri-Blade

    Darn, can't use it ingame. XD Guess I have to keep my console up to use it as a fake player then.
     
  11. Offline

    dbizzzle

    soundwaveninja It probably still works, unless you were using it and it broke...
     
  12. Offline

    Steffion

    Nice plugin! I give you a internet :D!
     
  13. whenever i say /plugman reload consolename the config file resets please fix
     
  14. Offline

    mwsoccer

    Can you make it so when i use /say in-game it shows the console i set up?
    cause when i do /say it just shows the regular minecraft thing /say Hello!
     
  15. Offline

    dbizzzle

  16. Offline

    Steffion

    Can you update it to the MC v 1.2.3 :D?
     
  17. Offline

    quickclay

    Is this likely to work as-is in 1.2?
     
  18. Offline

    dbizzzle

    Steffion I might, haven't really used java since last time I updated this

    quickclay Give it a try, I have no clue
     
  19. Offline

    quickclay

    Sadly no, in CB2034. Here is the trace:
    2012-03-05 06:43:37 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R6-33-gb66156b-b2034jnks (MC: 1.2.3) (Implementing API version 1.2.3-R0.1)
    2012-03-05 06:43:37 [SEVERE] Could not load 'plugins\ConsoleName.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/server/ServerListener
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/server/ServerListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at me.dbizzzle.ConsoleName.ConsoleName.<init>(ConsoleName.java:19)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144)
    ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.server.ServerListener
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 27 more

     
  20. Offline

    BranicYeti

    dbizzzle Github link isn't working and I was hoping to get a look at the source code. Could you fix it please? :)
     
  21. update for 1.2.3 please :D
     
  22. Offline

    dbizzzle

    quickclay Yes, I figured it would not work..

    BranicYeti Thank you for letting me know, I can't get it working at the moment, pm me if you want me to just send it to you.

    14stephen14 I do not know if I am going to yet.
     
  23. Offline

    BranicYeti

    That would be great if you could. Thank you in advance :)
     
  24. Offline

    dbizzzle

    Freddyk The plugin is broken right now
     
  25. yes plugman is a plugin tht lets u reload plugins and load new ones that you put in without restarting server
     
  26. Offline

    quickclay

    Keeping fingers crossed this can be updated. The console has become an important "character" on our server. ;)
     
  27. Offline

    dbizzzle

    XxDeath_ShadowxX Yeah, those don't work with this, you need to reload the server

    quickclay I'll see what I can do

    Freddyk I don't know if or when it will be fixed
     
  28. Offline

    dbizzzle

    Hey everybody, just an update, right now I am searching for a dev to take this plugin over, if you are interested please pm me.
     
  29. Offline

    Tanite

    I have this mostly fixed up for 1.24, but I didn't do the config part. I hard-coded what I needed (eeeeee) because I'm new to programming for Bukkit and it was faster for me to make it work on my server. Also, I don't want to take anything over, but if someone wants me to post what I have done, maybe it will help :)
     
    quickclay likes this.
  30. Offline

    CrazyColoradan

    This didnt generate a folder or show up on my plugins list ....
     
  31. Offline

    quickclay

    Yes please! :)
     
Thread Status:
Not open for further replies.

Share This Page