Inactive [ADMN/GEN/TP/INFO]motd 1.2 - Greeting, Teleport Request, Time Vote, IP, WhoList [2126] superPerms

Discussion in 'Inactive/Unsupported Plugins' started by zweizeichen, Mar 13, 2011.

  1. Offline

    zweizeichen

    [​IMG]
    Latest Version: v1.2 (Bukkit 1.2.4)
    Please use BukkitDev for bug reporting and support!

    Overview

    motd is a lightweight MOTD and basic command plugin for your minecraft server.
    There are lots of 'basic commands' plugins around here, but most of them have lots of features you will never need - or they do not allow you to deactivate them easily. They often cause lag and make configuring your server a pain in the *** because there is no documentation.

    With motd I made a simple, yet powerful plugin for creating advanced, custom colored and formatted MOTDs, who lists and rules. If you do not have the time to always be around on your server, rtp and vtime can help you. Even if you decide to install permissions on your server, motd is ready for that change.



    Here's a small overview of what you can do with motd:


    Customizable MOTD (text and color)
    You can enable/disable each command by editing a config file

    Commands
    • who
    • rtp [playername / yes]
    • vtime [dawn / day / evening / night]
    • ip
    • motd
    • rules
    The plugin provides several features for your minecraft server. The first one you will notice, is whenever a player joins the game he will be greeted and shown other online players.


    To bring up the online players list again type:
    /who

    To bring up the MOTD again type:
    /motd

    To bring up the rules type:

    /rules


    Votes

    The plugin is generally designed for servers where an admin is not online all the time. Therefore I have implemented the following two commands:

    /vtime
    vtime is a time vote system. Everyone can start a vote to change the time. You can vote for dawn, day, evening and night. To vote for a time change just use the argument yes. If not at least half of the online players voted yes within 60 seconds, the vote expires.

    /rtp
    rtp creates a teleport request to another player. The other player has to type in /rtp yes to teleport the player. There can only be one request to one player at a time.

    Utility

    /ip
    ip shows the ip of the player using the command.

    Please read the manual for further information on using and configuring motd.

    Permissions Nodes

    • motd.ip.use
    • motd.who.use
    • motd.rtp.yes
    • motd.rtp.request
    • motd.vtime.use
    • motd.rules.use
    • motd.motd.use
    • motd.edit
    • motd.reload
    • note that motd.rtp.request includes motd.rtp.yes
    Changelog

    Version 1.1.1
    • FIXED: /vtime now displays the correct name of the world
    • FIXED: some Permissions related stuff in /motd
    Version 1.1
    • REWROTE: Entire command, permission and config handling
    • ADDED: Permission's prefixes to <who>
    • ADDED: Modular command system
    • ADDED: Internal task management for vtime
    • IMPROVED: Multiworld support in vtime
    • FIXED: Some problems with names in /rtp and /vtime
    • CHANGED: Node motd.rtp.use is now split into
      • motd.rtp.yes
      • motd.rtp.request
      • Important: request includes yes
    • Some minor changes I cannot remember (spelling...)
    Older Changelogs (open)

    Version 1.0

    • ADDED: Permissions support
      • Nodes
        • motd.ip.use
        • motd.who.use
        • motd.rtp.use
        • motd.vtime.use
        • motd.rules.use
        • motd.motd.use
        • motd.edit
        • motd.reload
    • ADDED: /rules command
    • ADDED: changeable /who text
    • ADDED: /motd reload command
    • ADDED: /motd edit %property% %value% command
    • ADDED: config now migrates itself from 0.5.3 to 1.0
    • ADDED: build 733 compatibility
    • MOVED: Motd/motd.yml to motd/motd.yml
    • CHANGED: some minor changes in the config. They should be self-explaining
    • Please read the manual first if you have questions
    Version 0.5.3



    • The plugin is compatible with 609 / 1.4 now
    • CHANGED: /who command and <who> now displays the calling player too, for consistency with <numplayers>
    • ADDED: <ae>, <ue> and <oe> for the umlaute ä, ü and ö
    • MOVED: The config is now located in plugins/Motd
    • CHANGED: Default motd to match the change in <who>
    Version 0.5.2



    • ADDED: <numplayers> and <maxplayers> placeholders in MOTD
    • CHANGED: placeholders are now written in <brackets> for better readability
        • '%red' changes to '<red>' for example
    • CHANGED: %p is <playername> now
    • CHANGED: %w is <who> now
    • UPDATED: config to version 2
    Version 0.5.1



    • ADDED: /motd command to bring up the motd again
    • ADDED: some kind of config file version management
    Version 0.5



    • FIXED: Handling of offline players in /rtp
    • UPDATED: Internal teleport function for future versions of craftbukkit
    • ADDED: Use %n for a new line in the MOTD
    • IMPROVED: Internal color handling
    Version 0.1b



    • ADDED: colors for the MOTD are now available. Please see the manual for further instructions on using them.
    Version 0.1a



    • FIXED: /who no longer shows "nobody!" as other player
    • ADDED: motd.yml (will be created at first launch)
    • ADDED: Changeable MOTD (use %p for playername and %w for the player online list)
    • ADDED: use true or false in the motd.yml to enable or disable the different commands
    Version 0.1



    • release




    Planned Features
    • different MOTDs for different groups
    • multiple MOTDs
    • broadcast messages
    • more placeholders
    • pm command
    • localization
    Have fun and good luck,



    zweizeichen
     
    EarlyLegend and Pinkpixels like this.
  2. Offline

    caspervk96

    How can i change the MOTD?
     
  3. Offline

    Xanadar

    This is a very good question. For being a MOTD mod plus more, where do we change the MOTD?

    The default is not bad, it just says

    "Hello [playername]!

    Other players who are also online: [playername],[playername]"
    If nobody else is online, it says "nobody!"
     
  4. Offline

    zweizeichen

    At first - thank you for trying my plugin.
    Sorry I forgot about this function...

    I will implement it as soon as possible.
    (wtf... I made a plugin called motd without a motd)
     
    nebenezer and BlackCore like this.
  5. Offline

    BlackCore

    How to turn off default MOTD?Because i want only /rtp and /ip commands...
     
  6. Offline

    caspervk96

    Hes working on it...
     
  7. Offline

    zweizeichen

    Version 0.1a

    • FIXED: /who no longer shows "nobody!" as other player
    • ADDED: motd.yml (will be created at first launch)
    • ADDED: Changeable MOTD (use %p for playername and %w for the player online list)
    • ADDED: use true or false in the motd.yml to enable or disable the different commands
    If you find bugs or have ideas for additional features, please let me know!

    Have fun and good luck,

    zweizeichen
     
  8. Offline

    caspervk96

    Cool thanks! [​IMG]
     
  9. Offline

    Noctis Akatsuki

    Nice plugin.

    When I do /rtp <playername> and the other player types /rtp yes. It says that I am no longer online, so nothing happens.

    + is there any possibilities that you can add a support for multiworlds? Since the /vtime thing only works for the main world
     
  10. Offline

    zweizeichen

    Are you trying to teleport between two worlds?

    Version 0.1b
    • ADDED: colors for the MOTD are now available. Please see the manual for further instructions on using them.
    If you find bugs or have ideas for additional features, please let me know!

    Have fun and good luck,

    zweizeichen

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

    Noctis Akatsuki

    No, this is between players in the same world :)
     
  12. Offline

    RebornSheep

    I have the same problem. Can you please fix this? :)
    Btw, very nice plugin!
     
  13. Offline

    zweizeichen

    I did not really have time to fix this bug properly today, but I made an untested version without the online check. So you can use the plugin until the next release will be ready for downloading. Please note that when the player leaves and you type in /rtp yes, an internal server error will occur.

    Is there any server where the /rtp command works properly with the 0.1b release?

    EDIT: Fixed in 0.5
     
  14. Offline

    fugue2005

    what are the permissions nodes?

    and where is the config file?
     
  15. Offline

    zweizeichen

    The config file will be created in you main server directory after the first launch.

    Permissions are not implemented yet.

     
  16. Offline

    cantim

    is there anyway to create a new line in the motd?
     
  17. Offline

    DiseasedFox

    Nice plugin :D
     
  18. Offline

    zweizeichen


    Use %n in the newest release (0.5)

    Everything should be working now, so we are jumping straight to 0.5.
    I also fixed the offline player bug properly.

    1.0 will have permissions support and an ingame changeable configuration.

    Version 0.5

    • FIXED: Handling of offline players in /rtp
    • UPDATED: Internal teleport function for future versions of craftbukkit
    • ADDED: Use %n for a new line in the MOTD
    • IMPROVED: Internal color handling
    If you find bugs or have ideas for additional features, please let me know!

    Have fun and good luck,

    zweizeichen
     
  19. Offline

    cantim

    Cool! Thanks for the new line fix.
    Is there also a way for a user to bring up the motd again?
    I basically want my users to see what commands they have available to them, and that's what I'm using the beginning motd for.
    thanks a lot!
     
  20. Offline

    zweizeichen

    Okay this will be easy to do.
    I planned to introduce the motd command anyway (it will be extended for changing the config later).
     
  21. Offline

    cantim

    Oh yea, not sure if this bug is just isolated to me, but /rtp no longer works. When the other person says /rtp yes, they get an error message: An internal error has occurred while attempting to perform this command
    I am using v0.5
     
  22. Offline

    zweizeichen

    Please send me the part of the server log where this error occurs.

    EDIT: Your craftbukkit version is outdated. I use the dev snapshot for building the addon and in the newer versions the old teleport function is deprecated so I had to switch to the new one. Updating your craftbukkit.jar should solve the problem.

    Version 0.5.1

    • ADDED: /motd command to bring up the motd again
    • ADDED: some kind of config file version management

    You have to delete your old config to use this update!

    Have fun and good luck,
    zweizeichen

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

    Lacho

    Hello, I really like this plugin.

    I have a request too, can it has the number of players connected and the max number of players in motd and who?

    Like: Online Players(1/4): Lacho

    :)
     
  24. Offline

    zweizeichen

    The old syntax with %red or %p was quite difficult to read. So I changed it to use brackets now. I also added <numplayers> and <maxplayers>.

    REMEMBER TO UPDATE YOUR CONFIG!

    Version 0.5.2

    • ADDED: <numplayers> and <maxplayers> placeholders in MOTD
    • CHANGED: placeholders are now written in <brackets> for better readability
        • '%red' changes to '<red>' for example
    • CHANGED: %p is <playername> now
    • CHANGED: %w is <who> now
    • UPDATED: config to version 2
    Have fun and good luck,
    zweizeichen
     
    Lacho likes this.
  25. Offline

    Lacho

    Hello, really great! I like how small this plugin and yet all the functionality. :cool:

    Now with the numplayers and maxplayers, I don't know if it is consistent with the /who and /motd writting.

    I mean, I think your nickname should be displayed on the list too.

    Now they say: Other online players(2/8): JohnDoe
    I think it would be better like this: Online players(2/8): JohnDoe, Lacho

    That's more consistent, just a thought though. :)
     
  26. Offline

    zweizeichen

    Hey that's a good idea... I am going to implement that in the next release.
     
  27. Offline

    ppp

    Only have who and rtp enabled (only after the teleport with confirmation feature honestly)

    Get this result whenever someone does /rtp yes

    Code:
    19:28:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'rtp' in plugin Zweizeichens MOTD v0.5.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.teleport(Lorg/bukkit/entity/Entity;)Z
            at org.zweizeichen.Motd.Motd.requestTeleport(Motd.java:228)
            at org.zweizeichen.Motd.Motd.onCommand(Motd.java:169)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
     
  28. Offline

    zweizeichen

    You can get the dev-snapshot here.
     
  29. Offline

    Valdiralita

    nice plugin, runs very good and i'm very happy with the "<n>"

    one suggestion: since minecraft supports chars like "ä, ö, ü" it would be very cool if your plugin supports them as well!

    with the newest version i get errors while starting, when using this chars
     
  30. Offline

    Neons

    Any plans to get this to work on craftbukkit 605? its just crashing for me.
     

Share This Page