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

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

  1. Offline


    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.

    /time day|night|dusk|dawn|<raw> OR /day
    /i OR /item (id|name) [count] [damage] [player]
    /tp (player)
    /s OR /tphere (player)
    /location OR /loc
    /c OR /color (colorid|colorname)
    /msg (player) (private message)
    /strike [player]
    /weather (off|calm|rain|snow|storm) [duration]
    /mob (name)
    /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


    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


    It actually supports "s" and "c".
  3. Offline

    Emiya Shirou

    it do? good to know, will test it out later when I'm on my server ^^
  4. Offline


    Also is there a /mob code for Testificate?
  5. Offline


    Could you add permissions please?
  6. Offline

    Mista Epic

    You should add a /tpto, that teleports you to somebody, or is that what the /tp [playername] does?

    Villager. Derp.

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


    yes that's what it does
  8. Offline


    - PlgEssentials
    - PlgSetspawn
    - PlgWarp
    still work in 1.1?
  9. Offline


    Update to new bukkit API
  10. Offline

    Mista Epic

    Update please!
  11. Offline


    Why? Does it not work? Is 1.2 bukkit out?
  12. Offline


  13. Offline


    Can you please add clearinventory
  14. Offline


    I know im not a moderator or anything but will you please add a change log?
  15. Offline


    umm... but there is one
  16. Offline


    Just want to say thank you for the plugin, been using it for a while now and it's perfect!
  17. Offline


    Hi Plague,

    I'm still using your plugin because I've not found anything that beats its simplicity. I've never had an issue with it until now:

    The new(ish) Command Blocks do not like to accept teleport commands with the plugin enabled. When I disable it they work perfectly. Have you updated this at some point and I've somehow missed it?

    Thank you!
  18. Offline


    No there has been no update. What I suspect is happening is that Command Block uses plain "/tp" command. And I think I have the same command name so it takes precedence, but my command has a different syntax, hence the failure.

    Try editing the plugin.yml inside my plugin, look for "aliases" and rename the offending "tp" to something else to test that, I am not currently at a working setup to test it properly.
  19. Offline


    I know it's been a little while, but what you suggested did work, thank you!
    Still using this plugin in 1.7 and it's never let me down. Thanks for everything.

Share This Page