[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

    Incendia

    Aka public domain? :p
     
  3. Offline

    Plague

    Yeah, but doesn't WTFPL sound much better? :D
     
    Zenithas, Kohle, bbq and 1 other person like this.
  4. Offline

    RchGrav

    There is no such thing as “putting a work in the public domain”, you America-centered, Commonwealth-biased individual.

    ;-)


     
  5. Offline

    Seth.D

  6. Offline

    Nijikokun

    yes and its open source as well. haha.
     
  7. Offline

    Juze

    Where's /i and /s? /s for summon/tphere?
     
  8. Offline

    Plague

    Well I cannot find the code in the original post or your sig.. (okay you just added it, and then you laugh? pathetic, man)

    Also General is not ported to newest craftbukkit.

    And when I started I wanted to just try making plugins (at which time I am pretty sure general was NOT open).

    Oh and for the (obviously) blind ones (looking at you Seth.D), I know there are many similar plugins (i said that in the original post). I did write it for my self and my own reasons and am putting it here for the inspirational reason mostly.
    --- merged: Jan 19, 2011 6:20 PM ---
    Forgot to write that there is indeed /i. I never used /tphere that much, but will add /s, why not.
     
  9. Offline

    Seth.D

    Gah, how could I possibly miss that? Now I feel stupid. Sorry for wasting your time. :p

    Although to avoid it becoming a generic general commands plugin you should continue to update it with cool new features. I'm not sure if this is possible yet with Bukkit's current hooks and events, but it would surely make this plugin a standout if you put an infinite day/night toggling command reminiscent of TimeRift for hMod. :D
     
  10. Uhm, no? The project has ALWAYS been on GitHub. That's where the source code was available. Even if he forgot to add the link for the most recent version, it was still available publicly on GitHub. Stop insulting people if you're the one who's clueless. ;-)

    Yes it is.

    So yeah, it's OK that there are other plugins - you made it clear this one is mostly for reference/learning purposes. Just don't spread misinformation about other people's work. ;-)
     
  11. Offline

    Plague

    Apology Accepted! :p

    I don't really aim to stand out and I know that General has more features, I'm not really trying to beat it or anything. This is for my own server for me and a few friends. The good thing about it is that i know the code and when Notch updates and Bukkit (hopefully) with it, I will not have to wait for other people to get it done. That's really the main reason for me.
    --- merged: Jan 19, 2011 7:41 PM ---
    Well unless the author states explicitly where the sources are, the plugin is closed-source. He didn't even state the license.
    Or do you think that if I find sources to Windows Drivers on the net they are OSS?

    Edit: formatting
     
  12. He was always staying where the sources are, he just updated the plugin version and swallowed the link. Stop complaining. -.-
     
  13. Offline

    Plague

    Whatever, I was searching the thread when I started making my own plugin, so I don't think I was that blind. But that's now what this thread should be about, there is the "Why release closed source plugins" in Offtopic for this ;)
     
  14. Offline

    Plague

    New version avalable - /s alias for /tphere, colored chat names, better name matching in /tp and /s.
     
  15. Offline

    bennyty

    Anyone read this title as Pig Entrails?
     
  16. Offline

    Plague

    Hmm a plugin for pigs to not only drop meat? :D
     
  17. Offline

    Stephen92

    can you put in /help I want something a bit better and simple, like hey0's /help you.good work.
     
  18. Offline

    Plague

    Help could clash with other plugins providing help...
     
  19. Offline

    Pirate43

    how are permissions for teleporting and whatnot, things you wouldn't give your default users, handled?
     
  20. Offline

    Plague

    They're not and are not going to be unless there is a permission support in bukkit. As this is primarily a plugin for me and a few friends on our "creative" server, there is no need for it.
     
  21. Offline

    FuUzZiioN_GaMer

    Can you make the item <name> now?? Please
     
  22. Offline

    SeeD419

    I saw 'PigEssentials'
     
    Jon Borichef likes this.
  23. Offline

    Plague

    I did not find a way to use a bukkit function for material names, so I would have to use my own database file, like General does and that's what I really don't want to do.
     
  24. Offline

    FuUzZiioN_GaMer

    That is pity, and there is really no other way?
     
  25. Offline

    Voxel Box

    Plague~ I (plusnine) am very interested in seeing your server sometime if that's possible. I love that you guys are developing pluins in-house like we are, and would welcome the opportunity to see what you & george are doing and what your approach is.
     
  26. Offline

    Plague

    Oh George is a developer of another plugin that was looking for a way to change leaves, that's eeverything I know about him :D

    As for my server it is just for me and my friend, no mobs, no animals, just creation, I also do not have any permissions in place, but I could temporarily put you on a whitelist or something.
     
  27. Offline

    Voxel Box

    That would be awesome. feel free to PM me here. my in-game name is plusnine. =)
     
  28. Offline

    bassbeast

    could you set up permissions for this?
     
    BenFudge likes this.
  29. Offline

    Plague

    I really don't have a use for them on my private server, but if anybody would like to code them in, I'll post both version here (or of course anybody can just use my code in a new plugin).
     
  30. Offline

    RchGrav

    plusnine,

    I think the format you are running your server under is nothing sort of an example of excellence, and a level of achievement all minecraft servers should strive towards. I have a number of players who are excellent builders and make awesome epic creations in no time flat. And then I have other players who insist on building "eyesores" on the map. I really like your Daro concept... I had something similar in place originally, but with the recent restructuring of all of the mods and the conversion over to bukkit I unfortunately lost tons of work and customization on my server. In the mean time I have found it necessary to downsize to a single world until stuff settles a bit. (as it seems to be starting to do.)

    I look forward to creating some vast oceans once your Voxel Sniper plugin is fully ported

    Plague,

    Don't be discouraged with people's comments regarding duplication of other plugins functionality. Personally I have been struggling with finding a plugin that truely fits my needs of a set of simple / yet secure-able set of basic commands. The fact that your plugin DOES NOT include a help function is a HUGE win in my opinion. I spent a lot of time creating custom help menus that are nicely colorized using MCDocs... using a plugin that precludes my own customized help is a huge downer.

    Huge respect to both of you!

    Rich
     

Share This Page