[GEN] PlgEssentials v5.0 - time, give, tp, tphere, etc. [1.4]

Discussion in 'Archived: Plugin Releases' started by Plague, Jan 19, 2011.

  1. Offline

    Plague

    PlgEssentials - Essential commands for Plague's server:
    Version: v5.0

    I made this plugin for my own private server to have some basic commands under control.

    As in all my plugins, you can now edit the name of commands in plugin.yml.

    This will never support any permissions system, it is aimed at people using ops.txt.
    If you want them, there is a fork called AdminCmd.

    Commands:
    /time day|night|dusk|dawn|<raw> OR /day
    /i OR /item (id|name) [count] [damage] [player]
    /tp (player)
    /s OR /tphere (player)
    /playerlist
    /location OR /loc
    /c OR /color (colorid|colorname)
    /more
    /msg (player) (private message)
    /strike [player]
    /weather (off|calm|rain|snow|storm) [duration]
    /mob (name)
    /repair
    /setmode (survival|creative|s|c)

    Note: the creature names for /mob are CamelCase (e.g. Chicken, PigZombie). I *have* reasons for that, sorry.

    Download (source code in the .jar)
    Op-only version

    [​IMG]


    Changelog:
    Version 5.0:
    • updated to new bukkit API
    Version 4.7:
    • added /setmode command to change game mode for the caller.
    Older versions (open)

    Version 4.6:
    • added /repair command to repair any item in hand (watch out for colorables)
    Version 4.5:
    • added /mob (name) command to spawn monsters and animals
    Version 4.4:
    • fixed a bug in /msg (thanks DoodoM)
    Version 4.3:
    • /strike [player] - strikes a player with lightning (if no player given, strikes where your crosshair points)
    • /weather (off|calm|rain|snow|storm) [duration] - turn off weather (always sunny) or sets weather for a given amount of seconds (or default: 5m of bad weather 15m of good weather)
    Version 4.2:
    • fixed a bug in /item for other players (thanks Dark_Balor)
    Version 4.1:
    • /item can give to others, optional parameter [player]
    Version 4.0:
    • uses onCommand, CB 454+ compatible
    • you can edit all command names in plugin.yml/aliases:
    • added /msg command for private messages
    • code optimization
    Version 3.5:
    • added /more command (fills your hand with 64 items of what you are holding)
    • removed other features than commands (moved to PlgMisc)
    Version 3.4:
    • fixed a (possibly dangerous) bug in nick coloring
    Version 3.3:
    • fixed a bug when after respawn your name is not colored anymore
    • added coloring of slabs and doubleslabs (stone, cobblestone, sandstone, wood)
    Version 3.2:
    • Minecraft 1.3 compatible, craftbukkit 432 (actually no change needed for this)
    • slight internal code changes
    Version 3.1:
    • Updated to new craftbukkit API (300)
    Version 3.0:
    • updates for new craftbukkit API (232)
    • /item now takes block names
    • added /color to change color of wool, dyes and logs
    Version 2.2
    • bugfixes
    Version 2.1
    • Added /day alias for /time day
    • Added Login message telling how many players are on the server
    • Reformatted /location output to ## N, ## E, ## H (north, east, height)
    • Added /location line "Facing W/NW/N/NE/E/SE/S/SW"
    Version 2.0
    • added /s alias
    • new name matching
    Version 1.0
    • Initial release
     
  2. Offline

    Plague

    Yes that's the old command interface, need to switch. For the time being you can use older craftbukkit.
     
  3. Offline

    Efflixi

    Would you happen to know which version is compatible?
     
  4. Offline

    Plague

    440 is recommended 454+ are incompatible.
     
  5. Offline

    halfmonty

    anything being done to fix the icompatability with worldguard?
     
  6. Offline

    Plague

    What incompatibility?
    --- merged: Feb 28, 2011 12:47 AM ---
    Okay guys! Big update!
    Compatible with 454+ and onCommand.
    This also means you can edit all names of all commands in plugin.yml and thus no incompatibility with anything is possible! Just edit plugin.yml in PlgEssentials.jar and rename/remove aliases!

    Also added private messages via /msg command.
    --- merged: Feb 28, 2011 12:47 AM ---
    quoted to alert you to the change
     
  7. Offline

    zeph

    could we have /playerlist OR /list OR /who ?
     
  8. Offline

    Plague

    Read the original post again.
     
  9. Offline

    sza22

    hey can you give item giving the ability to give it to other people? for example: /i [item] [amount] [playername]

    thanks, sza22
     
  10. Offline

    Plague

    If you wouldn't mind that it would be a fourth parameter /i [item] [amount] [damage] [player] then I think I could.
     
  11. Offline

    ryanshawty

    Major bug with this, doesn't work well with Permissions anyone can use the commands =\ Fix this please
     
  12. Offline

    Plague

    This is not made for permissions, it is made for people that hate permissions like me.
     
  13. Offline

    ryanshawty

    Oh sorry then =(
    --- merged: Mar 4, 2011 7:42 PM ---
    Could you possibly make one to work with Permissions, I would use it if there was, so would many others I think.
     
  14. Offline

    sza22

    is there a way to make [player] optional? if not, required would be fine with me.
     
  15. Offline

    Plague

    Update - added /item for other players as an optional parameter

    It's optional of course, but you have to specify all those other arguments also when using player.
     
  16. Offline

    sza22

    that seems fine
     
  17. Offline

    Andre_9796

    can we get a config to turn the welcome message off?
     
  18. Offline

    Plague

    There should be no welcome message since 3.5, check the changelog.
     
  19. Offline

    Andre_9796

    Oh I'm so sorry, Plague. I will reinstall your plugin. Thanks

    EDIT: plugin works perfect with Build 432.
    --- merged: Mar 5, 2011 10:44 PM ---
    Oh man it's not working good with Teleplus. If i type /tp jump for teleporting, your plugin says "player jump not found". I think i have to use /jumpto from Worldedit.
     
  20. Offline

    Plague

    Just edit the plugin.yml in my plugin and change the "aliases: tp" to whatever you need, like "aliases: tp_disabled".
    --- merged: Mar 5, 2011 10:49 PM ---
    quoted for alerts
     
  21. Offline

    Andre_9796

    quoted for alerts? what does that mean i'm german
     
  22. Offline

    Plague

    that I quoted your post so you get an alert from the forum that I replied.
     
  23. Offline

    Andre_9796

    Ok Thanks. Btw, your plugin is so great, it made my day.
     
  24. Offline

    Plague

    Thanks!
     
  25. Offline

    sza22

  26. Offline

    Plague

    Depends on what the problem is. If you want PlgEssentials to not interfere with SpawnList /item command, rename the item command in my plugin.yml. See 5 posts above for details.
     
  27. Offline

    Andre_9796

    can you please tell me the permission to give a player the /i right?
     
  28. Offline

    Plague

    This is aimed on people not using any permissions.
     
  29. Offline

    Andre_9796

    can you tell me how to do this. i'm really new and i hope you'll help me
     
  30. Offline

    sza22

    hey can you add the item blacklisting feature?
     
  31. Offline

    Plague

    That would need data persistence for which I wait for bukkit to implement.
     

Share This Page