[ADMN/GEN]AdminCmd 7.3.5-time, give, tp, repair,kill, warp,weather,afk,OpenInv [1.5.1]

Discussion in 'Archived: Plugin Releases' started by Dark_Balor, Apr 1, 2011.

  1. Offline


    AdminCmd - Fork of PlgEssentials:
    [​IMG] Website : www.admincmd.com
    [​IMG] Wiki : http://wiki.admincmd.com
    [​IMG] BugTracker : http://bug.admincmd.com
    [​IMG] Downloads : HERE
    [​IMG] GitHub : http://github.com/Belphemur/AdminCmd

    AdminCMD is a powerful plug-in that brings you commands that can give you total management over your server. Featuring the most widely used commands in Bukkit server management such as: inventory management, banishment of bad players, limitation to teleporting, setting spawn and home way points, and much, much more! Blockface approved and rated as one of the best plug-in by server owners.
    Unleash the power of Bukkit!

    For the blog : www.admincmd.com
  2. I have installed WorldEdit and this plugin have the /undo command, but not the /air.
    When I now make /air I can't make undo, because the command from WorldEdit :(
  3. Offline


    More report Bug!!

    When i wrote /ex 300 this happened:

    09:16:07 [GRAVE] [AdminCmd] The command bal_extinguish throw an Exception please report the log to this thread : http://forums.bukkit.org/threads/admincmd.10770
    09:16:07 [GRAVE] java.lang.NullPointerException
    09:16:07 [GRAVE] at net.minecraft.server.World.doLighting(World.java:1602)
    09:16:07 [GRAVE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:443)
    09:16:07 [GRAVE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    09:16:07 [GRAVE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09:16:07 [GRAVE] Unexpected exception
    at net.minecraft.server.World.doLighting(World.java:1602)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:443)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    09:16:07 [GRAVE] java.lang.NullPointerException
    09:16:07 [GRAVE] at net.minecraft.server.World.a(World.java:1647)
    09:16:07 [GRAVE] at net.minecraft.server.World.a(World.java:1615)
    09:16:07 [GRAVE] at net.minecraft.server.Chunk.f(Chunk.java:144)
    09:16:07 [GRAVE] at net.minecraft.server.Chunk.c(Chunk.java:133)
    09:16:07 [GRAVE] at net.minecraft.server.Chunk.a(Chunk.java:300)
    09:16:07 [GRAVE] at net.minecraft.server.World.setRawTypeId(World.java:307)
    09:16:07 [GRAVE] at net.minecraft.server.World.setTypeId(World.java:372)
    09:16:07 [GRAVE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:77)
    09:16:07 [GRAVE] at org.bukkit.craftbukkit.block.CraftBlock.setType(CraftBlock.java:73)
    09:16:07 [GRAVE] at be.Balor.Tools.Utils.replaceBlockByAir(Utils.java:458)
    09:16:07 [GRAVE] at be.Balor.Manager.Commands.Server.Extinguish.execute(Extinguish.java:52)
    09:16:07 [GRAVE] at be.Balor.Manager.CommandManager$ExecutorThread.run(CommandManager.java:192)
  4. Offline


    @diamaunt & @christianlej : well ... the commands /air & /ex use A LOT of resources then I nerved it to have a max radius of 50 ... I'll reduce it to 30 because it seems to crash some servers.

    @nemesis91 : completely agree with that, but that was a request and I wanted to see if I can do it. But you know it's helpful to have a command to degrief some zone :) like get out the lava,etc ... And of course I had to make the undo command, because it's so annoying when you destroy a part of your world by mistake :s
    @Sorken : I'll add a exception node for this.

    @Grrrr159 : Like said @jdietz43 , create your own alias.
    @Dumle : you can set the power when enabling. I'll add a config value for the default.
    @_-DarkMinecrafter-_ : like most of my command there is 2 alias. The other alias for /undo is /past

    @Sorken @Lathanael (thanks for always updating the help file :3 )

    Version 5.6.24
    [CONFIG] Default value of : fly, vulcan and fireball can now be configured in the config file.
    [CHANGE] To replace LAVA and WATER by air, you must be NEAR (sphere of 2 blocks radius) the fluid. I use a better algorithm.
    [CHANGE] MAX RADIUS for /ex and /air command is now 30. I'M NOT RESPONSIBLE FOR CRASH WHEN YOU ARE USING THESE COMMANDS. If you really want it, use WorldEdit.
    [FEATURE] added node : "admincmd.player.noreset" to avoid the reset of power when tp to another world.
    [FEATURE] command reloadall to reload the server.
    [CHANGE] FirstTime check. If it's the first time that the player connect to the server, he's tp to the EXACT spawn point.

    And now no more release since 5.7 or major bug.

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


    I use the plugin nanobot and it scan 10.000 blocks and change it to other material you want... and my server don`t crash-.-! and use a lot of source too..., maybe if you optimize this command or something...pherhaps if you check the source of nanobot... maybe it help you...

    Thanks Dark_Balor


    For the new version i have 1 idea for Op`s and Admins... could you set the way that the Op`s and Admins transfer walls... where they look with their player in game? i mean if you want to cros fast and less walk you can tranfer the wall of this house or the dirt there you looking and if you implement it the comand could me /tranfer own and /tranfer [player] could be like /fly command where yo looking you tranfer or traspass this item :D maybe it`s difficult... never seen an plugin that have this function...

    Thanks Dark_Balor, Love you plugin :D it`s amaizing.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 13, 2016
  6. Why add /reloadall when theres already a /reload command? all you need is a permission node so non-ops can use it. There was some other plugin, DefaultPermissions or some such, added permission nodes to all original mc commands, but since you replaced em all its not really needed any more (well, all apart from /reload)

    Also, you still cant teleport to someone while you are invisible. If stalking someone and they get away from you, tp to them would be the fastest way to find em again.
  7. Here a German Translation

    When i make /strike Player than the server are slowly

    Attached Files:

    • de.zip
      File size:
      2.2 KB
    Last edited by a moderator: May 13, 2016
  8. Offline


    @Sorken : I can't override the reload command, it's a default command made by bukkit that have all priority it's why a put an reloadall

    For teleport, I'm working on it.

    @_-DarkMinecrafter-_ : thanks added in dev version :)
    edit : it's possible that when you are doing it you init some fire that is spreading on the map.

    @christianlej : Don't really understand what you mean. Some kind of ghost power ?
    or the ability to move walls ?

    Version 5.6.25
    [BUG FIX] Invisible bug with tp fixed.
    [LOCALE] de locale added thanks @_-DarkMinecrafter-_
  9. Offline


    Do you think you could implement something like "/time -l" to lock the current time and with multi-world support?
  10. You dont need to override it or replace it with your own, just attach a permission node to it. It should be possible since other plugins has it. Check this one:

    Also, whenever you swap world it will now complain about the new dont reset powers permission node if you dont have it. So every time a player enters nether or pvp world it will complain.
  11. Offline


    @Sorken : Using command preProcess , I'll add that functionality for the 5.7, the possibility to choose witch command have the priority.

    Else I corrected the perm spam, redownload :)
    @California292 : I'll see for 5.7
  12. Offline


    please add a command to repeat the last command you used thad would be aweosme like /rp
  13. Offline


    added on todo list for 5.7
    an0x likes this.
  14. Offline


    I can't get it right to give another player an item. I'm doing "/i 35:[ID]" to give myself different coloured wool, but if I change the ID for the player name, it just drops it into my inventory. Maybe I've misread it, but I've tried every command I can think of and it won't work.
  15. Offline


    To give colored wool you've right, that the command.
    Now 2 examples :
    1) Give colored wool to a player
    /i wool:5 Soulblitz

    2) Give other item to a player
    /i dirt Soulblitz

    Hope it's clearer now ;)
  16. Offline


    Did you looked the plugin Nanobot? and i mean that for example: you have a wall from of you and you want to cross this wall without going around for arrive to the other side, like the ghast power it`s like for they the wall and the other things don`t exist and can cross this without any problem the command could be /cross [player]
  17. Offline


    Ah yeah, I was doing it wrong. Thanks!
  18. Offline



    More report Bug!!

    >vulcan comestible
    04:37:07 [GRAVE] [AdminCmd] The command bal_vulcan throw an Exception please report the log to this thread : http://forums.bukkit.org/threads/admincmd.10770
    04:37:07 [GRAVE] java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Float
    04:37:07 [GRAVE] at be.Balor.Manager.Commands.Player.Vulcan.execute(Vulcan.java:60)
    04:37:07 [GRAVE] at be.Balor.Manager.CommandManager$ExecutorThread.run(CommandManager.java:192)
  19. Offline


    @christianlej : corrected in dev version
    for now the only workaround is to use the command like that : /vulcan 1 player, same for fly and fireball
    and yes I took a look at Nano but his code is difficult to understand, I'll see later. For the ghost power I'm not sure that I can do it I need the help of a dev that know minecraft packet better than me.
  20. Offline


    Nice... If you can do the ghast power it could be a lot aprecieate and never seen on a plugin, i mean that people don`t think that this power can be implemented :D And thanks for check Nanobot plugin i think it help you for do the best for the servers don`t crash when you transform materials to air. And more than 3000 materials changed to air crash the server inmediatly (i proved it). Some players told me that when y
    ou teleport to someone they can see me for a second and then not is this a bug?

    Thanks @Dark_Balor i think you do the best for us. Very good work :D


    If you can set in config file that can disable or enable the commands: Fireball, Vulcan, thor and strike. Would be very good for the BAD OP`s that only Strike the player`s for Fun...

    Thanks Balor :D

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


    Hey, I thinked about a good think you can add to this plugin. Can you att a commando like /moreall or /ma or /morea
    That will give you more/64 of all items you have in your inventor and on the bar. That should be awesome. /more on all items you want is boring and im lazy ;)
  22. Offline


    Also i think its better when i want to warp someone and type in the wrong name that the message only by me comes and not the person i want to warp :/
    also with the update the afk mode got buggy i walk down the street and than me is now afk whut xD
  23. Offline


    Commands /repair and /repairall don't work with Shears
  24. Offline


    It won't start up, here is the section of the log where it fails to work

    2011-08-06 23:21:07 [SEVERE] Could not pass event PLUGIN_ENABLE to AdminCmd
    java.lang.NoClassDefFoundError: com/google/common/collect/MapMaker
    at be.Balor.bukkit.AdminCmd.ACHelper.<init>(ACHelper.java:54)
    at be.Balor.bukkit.AdminCmd.ACHelper.getInstance(ACHelper.java:92)
    at be.Balor.Manager.Permissions.PermissionManager.setPermission(PermissionManager.java:196)
    at be.Balor.Listeners.ACPluginListener.onPluginEnable(ACPluginListener.java:40)
    at org.bukkit.plugin.java.JavaPluginLoader$41.execute(JavaPluginLoader.java:527)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:864)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
  25. @Dark_Balor
    When spy is enabled and you arent logged on:

    09:09:43 [SEVERE] [AdminCmd] The command bal_playermsg throw an Exception please report the log to this thread : http://forums.bukkit.org/threads/admincmd.10770
    09:09:43 [SEVERE] java.lang.NullPointerException
    09:09:43 [SEVERE] at be.Balor.Manager.Commands.Player.PrivateMessage.execute(PrivateMessage.java:105)
    09:09:43 [SEVERE] at be.Balor.Manager.CommandManager$ExecutorThread.run(CommandManager.java:192)

    Also, /afk command to put you into afk mode without the wait could be good. If you know you are leaving the keyboard then you dont have to idle and people talking to for like 5-10 mins before realizing you arent there.

    Do you have a static link to latest dev you can message me? :)
  26. Offline


    I hate to pick at small details but when you /wfreeze it says "weather is freezed on world blah blah"

    It should say weather is frozen on world blah blah, not freezed

  27. I reported that a while back, but you can manually fix it in your locale file.
  28. Offline


    @Tobe : corrected in dev version Thanks.
    @erdrickk & @Sorken : ... frozen --'' oh my god How can I make such mistakes --'' corrected in dev version Thanks.
    @seedorfj : you need the last RB : 1000
    @Sorken : spymode corrected, command afk added in dev version Thanks.
    @an0x : I'm sorry I don't understand what you want with the warps :s
    @Mufflo : Will be added in the dev version

    Dev version : http://dl.dropbox.com/u/1773950/dev/AdminCmd.jar


    Of course if you see any problem with the dev version report it ^^ consider yourself as Beta-tester :)
  29. Offline



    And you know what i mean with ghost power?

    When you set the changelog for dev version 5.7?

    Thanks Balor
  30. Offline


  31. Offline


    I see... i`ll wait for New changes and i`ll test this 5.7 Version on my own computer for Bugs... !! thanks Balor.

    YOu the best ;D and do what you can :)

Share This Page