Inactive [Inactive][FUN/ADMN] Mean Admins v0.3.2 - Unleash Mayhem as Admin

Discussion in 'Inactive/Unsupported Plugins' started by Connor Mahaffey, May 29, 2011.

  1. Offline

    Connor Mahaffey

    Mean Admins: By Connor Mahaffey
    Version: 0.3.2

    Downloads:
    Jar Standalone ("Mean Admins.jar")
    Zip folder with Jar and Mean Admins Folder ("Mean Admins.zip")
    Source

    Description:
    Mean Admins gives admin players special administering abilities, as well as fun ways to kill some of those pesky users. Whether you use this plugin for good or evil is up to you, but it's the perfect way to help take control of your server.

    Permissions 3.x, PermissionsBukkit, and Multiverse supported!

    Features:
    - Kill users in a variety of ways (lightning, fire, lava, dropping, tnt, etc.)​
    - Control the weather​
    - Quickly give/remove building rights​
    - Ride animals and other players​
    - Freeze players in place or surround them with blocks​
    - Spawn friendly mobs (Note: Friendly mobs become aggressive again after a server restart)
    - A variety of weapons (ex. point-and-click explosions!)​
    - And much more!​

    Video:
    Note: This video is very outdated, a new one will be up soon

    More Videos (open)

    By @Magpie



    Command Format:
    All commands must start with /ma, /mean, or /meanadmins
    For the following examples, I'll be using /ma (but you can use /mean or /meanadmins)

    /ma <person> <command> <param1> <param2>
    if it is a non-personal command, like weather or weapon, skip <person>
    Ex. Make everyone on the server (accept admins of course) catch on fire:
    /ma all fire
    Ex. Make it rain
    /ma weather rain

    For all commands, type: "/ma help list <page>" or "/ma help <command>" for individual command help - Command list coming very soon!

    Permissions:
    Note: You must have the permission meanadmins.admin to execute any command!

    All permissions use a format similar to the command. To be able to use /ma user fire you must have the permission "meanadmins.fire". To use lightning as a weapon, you must have the permission "meanadmins.weapon.lightning". Using a * to specify all commands in a node works with both Permissions and PermissionsBukkit.

    List of Permissions

    Mean Admins will use Permissions 3.x if you have it installed. Otherwise it will attempt to use PermissionsBukkit, and if that isn't configured, will default to ops. If you are using PermissionsBukkit and do not want ops to have access to all commands, you must specify which commands you don't want them to have in your config.yml - ex. meanadmins.god: false

    Config:
    There is only one option in the config currently. You can specify what item you would like to be your weapon by entering an item id. By default it is a stick (280).

    Other Important Things:
    - "all" commands will not affect yourself or other admins
    - You cannot use a command against another admin, though you can use them against yourself

    Known Issues:
    - No limits on spawning or dropping, which could end very badly
    - No way to fill holes created
    - Teleport may do half-heart damage by spawning the player partially in a wall
    - If you try to make an animal ride a player they just kinda attack your face (try it and you'll see what I mean)
    - Admins can ride other admins

    Future Improvements:
    - Add persistence for friendly mobs

    Change Log:
    - 0.3.2
    - Added support for PermissionsBukkit​
    - 0.3.1
    - Fixed TNT so it spawns lit; punching no longer works in Minecraft 1.7​
    - Added some better error messages​
    - 0.3
    - Added Permissions support​
    - Added persistence for weapon, build, freeze, tnt, and godmode​
    - Added godmode, explosion weapon, and friendly mobs​
    - Fixed freeze and ride​
    - Other things I can't remember​
    - 0.2
    - Bug fixes and code improvements​
    - New Commands: Freeze/Unfreeze, Ride/Ridden, Dismount, TNT, Nobuild/Build, and Heal​
    - New Weapons: Teleport, Block, Blockadd​
    - 0.1.1
    - Internal block changing improvements​
    - Fixed conflicts with /ma in MobArena - @garbagemule - typing /ma when both are​
    installed, will check to see if it's a MobArena command or not - and execute accordingly​
    - added /mean to list of aliases​
    - /ma opens help​
    - 0.1
    - Initial Release​

    Author's Note:
    I am 17, and mostly taught myself Java. This is my first plugin, and the first time I've put source in front of people better at coding than me. If you have any suggestions/problems, let me know ASAP. I'm open to anything.

    Special Thanks To:
    @Samkio for his tutorial on plugins and helping me in a PM
    @garbagemule for helping me with setting things on fire
    @Lukeroge for his awesome ideas and comments
    @captainawesome7 for helping me with block changing code
    @masteroftime for explaining why my old code was wrong
    @Tux2 for his awesome fixes, support, and just general awesomeness
    The bukkit community for being awesome in general!
     
  2. Offline

    kahlilnc

    its like spells. You should add mana no one has done that yet. I think.
     
  3. Offline

    Connor Mahaffey

    I know there is a magic wand plugin with the stick, and I think there used to be one with "runes" where block patterns on the ground made certain spells.

    Definitely a cool idea though. Upgradeable spells and mana. Spells like turning a river into lava, or ground into netherack, or for conjuring storms, or spawning creatures. Could be neat, but I'd have to see if anyone else has done it first.
     
  4. Offline

    Lukeroge

    I like the look of this, trying it now =)

    Ideas:
    • Make it open the help when someone types "/ma" without anything on it.
    • Allow people to spawn thundecreepers.
     
  5. Offline

    Connor Mahaffey

    Ah your right, it should open the help when you type /ma ! And hmmm, I wonder if I can make it do that? I don't think there is Creature called "thundercreeper" or "superchargedcreeper" but I might be able to do it manually!

    Thanks for your input, let me know if you have any problems.
     
  6. Offline

    Lukeroge

    I will, here is a few things I have noticed about spawning:
    • If you spawn a mob against a wall they will appear in it and die
    • If you spawn a mob against a glass wall, they will be stuck in it, but not die. Looks pretty odd xD
     
  7. Offline

    Connor Mahaffey

    Hahah, that is a glitch that happens because the mob doesn't actually spawn on the players location. Originally it did, but then you'd find yourself inside of a creeper! So I set it to spawn 2 blocks behind the person (X value).

    This might be fixed in 1.6, I'm not sure, I remember reading that entities inside a wall would move to the nearest edge. But if its not fixed in 1.6, it shouldn't be too hard to change. If there is a solid wall there, just switch it to a different side, and if there is no free side, just spawn it on top of the player.

    Thanks for your input!

    And I'm gonna have to see that for myself :D
     
  8. Offline

    Lukeroge

    To spawn the mobs I was using the mob spawn stick, not the player spawn commands. Another idea could be to add the function to ride players, and maybe even control them. I know it is possible, but I'm not sure exactly how its done. :D
     
  9. Offline

    Connor Mahaffey

    Ah, well yea the spawn stick just goes 1 over whatever block you click so...it'll do that XD

    And is that really possible? Huh. That. Would. Be. Awesome! And hilarious. I'll look into it! Thanks for the idea :D If I pull it off I'll mention you, no promises though, I'm not a godly coder (yet).
     
  10. Offline

    Lukeroge

    Its works using the same system that lets you ride boats. You can mount an entity on any other entity. The chaircraft plugin (lets you sit on chairs) uses this by shooting an arrow on a step, and mounting the player on it. =)

    Using that you could probably ride mobs as well. (Command to put a player on an animal?) xD
     
  11. Offline

    Connor Mahaffey

    Oh I have got to try and do this XD that would be so fun! Thanks, I'll look into it this week, but with school and everything there are no promises. I like to be very thorough and make sure the build has no major glitches before releasing it.

    Regardless, thanks for the info. I'll update the thread if I pull it off :D
     
  12. Offline

    Lukeroge

    Just going around all the plugins I use and seeing if they are updated, looking forward to the update =)
     
  13. Offline

    Connor Mahaffey

    Thanks for checking!
    I don't have much time tonight I'm afraid to work on 0.2 :/ I will download the latest Minecraft build and see if its compatible. It SHOULD be, it doesn't do anything too complex.

    I'll update the thread if it works with the latest build (1.6)
     
  14. Offline

    Lukeroge

    Thanks for the quick reply, and no rush to finish it =)
    I wonder why this hasn't been moved to the released section yet
     
  15. Offline

    Connor Mahaffey

    Not sure. It's possible the mod who approves applications didn't see it, isn't back to processing requests yet, or is waiting for a 818 build test. The Bukkit team has been very busy this week so I won't bother them right now. If it goes a few days with no word I'll message someone.

    Anyway, tested it on 818 and everything seems fine. Only thing I noticed was that /ma cmahaff hole X does 1 less then it should, ex. /ma cmahaff hole 1 doesn't change anything. But this might be a change I made recently, thats not in the current build, I'm not sure. Everything else seemed to work just fine. And if I'm not mistaken, the glitch where surround didn't always trap a user seems to be fixed! At least for me.

    Updating the thread info now :)

    EDIT: It's probably because I had not tested it on 818, should be good for submission now. There is a forum post saying all new submissions must support 818.
     
  16. Offline

    epictech300

    Why are you not marked plugin dev yet lol this plugin is awesome!

    You should add permissions support I personally hate it but its normally what people expect from plugins :(
     
  17. Offline

    Tux2

    This looks really cool!

    I can help you get the project on github as it's not really a hard process. I would just need some way to chat with you. I usually use IRC and Skype, although I do have MSN and Yahoo messenger. (Just send me a PM with your username). Also, once you get it up there, I'll see about helping you add permissions support as well (Once you get the hang of it it's actually quite simple).
     
  18. Offline

    Connor Mahaffey

    Yes, I plan on it, once I figure it out. It would probably help if I actually pretended to set up a server, with nodes, etc. and got familiar with what thats all supposed to look like.

    And thanks, I hope I'm approved soon too!
    Wow thanks! I *think* I can figure out GitHub, they have a pretty good Windows tutorial, as far as what client to use, etc. Permissions help would be much appreciated :D I know its not too difficult, and once I see it I'll get it. I know you need to create custom nodes, etc. I'll update the thread when its on GitHub!
     
  19. Offline

    Lukeroge

    Nice to see a few more people on the thread =)
     
    Connor Mahaffey likes this.
  20. Offline

    Pheenixm

    I'm interested in using this plugin but I'd like to know exactly what the commands are - is there a possiblility you could write them down somewhere?
     
  21. most useless plugin ever..
     
  22. Offline

    Giovan

    Idea: Make a way to make a fake creeper noise directly behind someone. That would be so fun.
     
  23. Offline

    Connor Mahaffey

    Doing the command /ma help list will show you a list of all the commands, and /ma help <command> will show you how you need to word a command :) I'll try and add a text file that shows all the commands in the next version, it's just a very time consuming task as there are 15+ commands and growing.

    I don't think thats possible, but it'd be hilarious if it was!

    Next version will definitely include - players riding animals (and probably other players), teleportation, and a block spawning stick. I'm also going to try and make it include - unbreakable blocks, next block a user hits turns to tnt, and maybe a weird glitch I found (where if you try to make an animal ride you, instead of you riding the animal, it just kind of attacks your face)

    UPDATE: Working on Version 0.2 - I will add this version to Github, @Tux2 it'd be great if you could help me with permissions after that is released :)
     
  24. Offline

    Tux2

    Sure, as soon as you message me that it is up on Github I'll start working on helping to integrating permissions support with you (hopefully in a way that will help you learn how to do it in the future as well. ;)).
     
    Connor Mahaffey likes this.
  25. Offline

    Phaedrus

    Actually, I think the Charlie Sheen plugin wins that honor.

    But hey, thanks for contributing the thread.
     
    Connor Mahaffey likes this.
  26. Offline

    TheSamAlder

    Just To Let You Know:
    I Love The Idea Of This Plugin.
    But It Conflicts With "MobArena".
    The Commands "/ma"
    Are The Same With MobArena.
    Which Sucks :C
     
  27. Offline

    Connor Mahaffey

    I know, I actually worked with the developer of MobArena and it should be "fixed" - by that I mean if MobArena is installed, all /ma commands will be sent to it, and not Mean Admins.

    If you want to send something to Mean Admins and not MobArena, use /mean or /meanadmins :)
    (That should work, if it isn't tell me)
     
  28. Offline

    TheSamAlder

    I Tried Using /mean And I Get An Error Message In Chat:
    An internal error occurred while trying to perform this command
    And The Server Says:
    13:45:30 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mean' in plugin Mean Admins v0.1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchFieldError: COMMANDS
    at meanadmins.Main.onCommand(Main.java:45)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  29. Offline

    Tux2

    Sounds like he is expecting at least one value to be passed. Try using /mean help list

    @Connor Mahaffey Might want to make sure that you do an if(args.length > 0) check.
     
  30. Offline

    Connor Mahaffey

    Thanks for reporting the error. COMMANDS is actually part of MobArena. When a /ma arguement is passed, it checks to see if the command is for MobArena, and if not, it passes it on to Mean Admins.

    It sounds like you are using an old version of Mob Arena, make sure you have the latest version. I just downloaded both .jar's fresh and it worked fine.

    @Tux2 - There actually are a few spots where I need to fix that! But since this is saying NoSuchFieldError I suspect that he is using a MobArena build without the COMMANDS field.
     

Share This Page