[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

    fragen

    Hello, is it possible we can get a message that says "Weather changed to Rain" when we do /weather rain, or "Time changed to day" when we do /time day.

    Thank you
     
  3. Offline

    Plague

    When I get around to doing some work on plugins, I have too many thing to do last few weeks.
     
  4. Offline

    GooGx

    This plugin is great, but the only problem in the plugin is; everyone is an admin, and i dont know how to change that, any help ?
    i'll be very grateful for any help.

    note: also, maybe u should update it with a new version and let the admin do something like "/mob Pig 8" (Spawns 8 pigs)

    edit: NVM only now i noticed there's an OP only version :)
    sorry for failing :(

    but still, if u will make an abillity to spawn multiple mobs at 1 time it will be cool.
     
  5. Offline

    Kohle

    Maybe a description of what each command does...?
     
  6. Offline

    Dark_Balor

    @Kohle ->
     
  7. Offline

    Kohle

    I'm talking more of the /more command... what the frack does that do? Hmm?
     
  8. Offline

    Dark_Balor

    Set the amount of the item in hand to 64
     
  9. Offline

    The_Yogs

    i read AS PIG
     
  10. Offline

    Kohle

    Shouldn't it be DWTFYWPL?

    Edit: Wow, I failed. Didn't see the post up there that says the exact same thing...
     
  11. Offline

    dillon_1996

    Iam only op and a kid on my server can tp...Please fix this or something. Its not helping our faction server...
     
  12. Offline

    The_Fallen

    I am looking for a plugin that lets you teleport to co-ordinates, I thought it would be here, but no, anyone know where to find one?
     
  13. Offline

    BCTsurvival

    i realy need a permission node for gamemode...
    does essentials have that?
     
  14. Offline

    Plague

    no, only OP/no-op differentiation
     
  15. Offline

    BCTsurvival

    buuuuut does the other essentials have a gamemode permission node?
     
  16. Offline

    Plague

    why should I care/know ?
     
  17. Offline

    BCTsurvival

    you are a moderator of bukkit?
     
  18. Offline

    Plague

    so the moderator (i.e. the guy taking care of language, offenses and other stuff) should know what all plugins do, wow :)
     
  19. Offline

    BCTsurvival

    not realy but the other essentials is one of the biggest plugins...
     
  20. Offline

    Plague

    so?
     
  21. Offline

    BCTsurvival

    Well nvm you can make this plugin better with permission nodes :)
     
  22. Offline

    Plague

    I have added a /setmode command to change the game mode for you (not the server)
     
  23. Offline

    shadow_panda

    maybe he has a hack or client
     
  24. Offline

    Rename112

    Ohai does this plg work`s on the new 1.0.0 v?
     
  25. Offline

    Plague

    yup
     
  26. Offline

    mario00037

    Perhaps /afk ?
     
  27. Offline

    Perdog

    He has a hacked client, you should give him a warning and if he doesn't listen ... BAN HAMMAS
     
  28. Offline

    Plague

    what does that do?
     
  29. Offline

    mario00037

    When you /afk

    It puts you player "Away From Keyboard"
    And it links into PLAYER_MOVE
    So when you move you player, he/she is now no longer AFK

    Ex.
    Jim: /afk
    Tommy: Hey Jim!
    Tommy: Jim?
    Tommy: /list
    Tommy now see's that Jim is afk [Away From Keyboard]
    Later....
    Jim is no longer AFK <--- He moved, or chatted.
    Tommy: Hey Jim!
    Jim: Hey Tommy!
     
  30. Offline

    Foolman94

    For /mob What are the codes (if they exist) for Magma Cubes (of varying sizes) and other slime sizes except just /mob Slime
     
  31. Offline

    Emiya Shirou

    /setmode (survival|creative)

    Could you also make it /setmode 0
    for survival and /setmode 1
    for creative?
     

Share This Page