[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

    Dark_Balor

    AdminCmd - Fork of PlgEssentials:
    [​IMG]
    [​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
    Description

    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!

    Features
    For the blog : www.admincmd.com
     
  2. Offline

    Dark_Balor

  3. Offline

    swift_fox24

    Vulcan power is only setting stuff on fire, not exploding anything. No error log in console, CB 1000. AdminCmd5.4
     
  4. Offline

    Dark_Balor

    If you are in god mode, and the explosion touch you, it's cancelled (it's how god mode works, it's cancelled every event that are dealing damage to you).

    And you need to be at 10 or more block from your target to be sure the explosion works.
     
  5. Offline

    melvinp

    Okey here are my permission files.

    Groups.yml
    Code:
    groups:
        Guest:
            default: true
            info:
                build: false
            inheritance:
            permissions:
            - foo.bar
            - craftbook.mech.elevator.use
            - essentials.spawn
        Builder:
            default: false
            info:
                prefix: '&1'
                build: true
            inheritance:
            - Default
            permissions:
            - bar.foo
            - worldedit.superpickaxe
            - worldedit.extinguish
            - bflight.bfly
            - bflight.bgive
            - magiccarpet.mc
            - clearinventory.use
            - ichat.color
            - mywarp.warp.sign.create
            - mywarp.warp.sign.warp
            - mywarp.warp.basic.*
            - mywarp.warp.soc.*
            - craftbook.mech.bridge
            - craftbook.mech.bookshelf.use
            - craftbook.mech.cauldron
            - craftbook.mech.elevator
            - craftbook.mech.gate
            - craftbook.mech.light-switch
            - craftbook.mech.elevator.use
            - essentials.spawn
            - essentials.signs.disposal.use
            - essentials.signs.heal.use
            - essentials.compass
            - essentials.tppos
            - essentials.afk
            - essentials.list
            - myhome.home.basic.*
            - advancedwarning.check
            - givemewool.givewool
            - admincmd.item.*
            - admincmd.spawn.tp
            - admincmd.time.*
            - admincmd.tp.*
        Trusted:
            default: false
            info:
                prefix: '&6'
                build: true
            inheritance:
            - Builder
            permissions:
            - bar.foo
            - worldedit.superpickaxe
            - worldedit.navigation.jumpto
            - worldedit.fixwater
            - worldedit.fixlava
            - worldedit.extinguish
            - bflight.bfly
            - bflight.bgive
            - magiccarpet.mc
            - clearinventory.use
            - wolfpound.adopt
            - ichat.color
            - mothernature.command.rain
            - mothernature.command.sun
            - mywarp.warp.sign.create
            - mywarp.warp.sign.warp
            - mywarp.warp.basic.*
            - mywarp.warp.soc.*
            - craftbook.mech.bridge
            - craftbook.mech.bookshelf.use
            - craftbook.mech.cauldron
            - craftbook.mech.elevator
            - craftbook.mech.gate
            - craftbook.mech.light-switch
            - craftbook.mech.elevator.use
            - stargate.use
            - stargate.use
            - stargate.create
            - stargate.create.personal
            - stargate.destroy.all
            - stargate.destroy.owner
            - stargate.hidden
            - stargate.privat
            - stargate.free.use
            - stargate.free.create
            - stargate.free.destroy
            - stargate.world.{worldname}
            - stargate.network.{networkname}
            - stargate.option.hidde
            - stargate.option.alwayso
            - stargate.option.private
            - stargate.option.free
            - essentials.spawn
            - essentials.signs.disposal.use
            - essentials.signs.heal.use
            - essentials.compass
            - essentials.tppos
            - essentials.afk
            - essentials.list
            - essentials.give
            - myhome.home.basic.*
            - advancedwarning.check
            - givemewool.givewool
            - admincmd.item.*
            - admincmd.spawn.tp
            - admincmd.time.*
            - admincmd.tp.*
        Moderator:
            default: false
            info:
                prefix: '&2'
                build: true
            inheritance:
            - Trusted
            permissions:
            - bar.foo
            - worldedit.clipboard.copy
            - worldedit.clipboard.cut
            - worldedit.clipboard.paste
            - worldedit.history.undo
            - worldedit.history.redo
            - worldedit.navigation.jumpto
            - worldedit.region.replace
            - worldedit.region.set
            - worldedit.selection.pos
            - worldedit.selection.hpos
            - worldedit.wand
            - worldedit.selection.expand
            - worldedit.superpickaxe
            - worldedit.tool.replacer
            - worldedit.fixwater
            - worldedit.fixlava
            - worldedit.extinguish
            - bflight.bfly
            - bflight.bgive
            - magiccarpet.mc
            - clearinventory.use
            - admincmd.time.set
            - admincmd.item.add
            - admincmd.time.day
            - admincmd.item.repair
            - admincmd.tp.to
            - admincmd.tp.from
            - admincmd.player.list
            - admincmd.player.msg
            - gokart.use
            - wolfpound.adopt
            - ichat.color
            - mothernature.command.rain
            - mothernature.command.sun
            - mywarp.warp.sign.create
            - mywarp.warp.sign.warp
            - mywarp.warp.basic.*
            - infchests.placeinfchestsign
            - mywarp.admin
            - mywarp.warp.soc.*
            - admincmd.tp.players
            - advancedwarning.warn
            - advancedwarning.check
            - advancedwarning.clear
            - givemewool.givewool
            - LazyRoad.build
        Admin:
            default: false
            info:
                prefix: '&4'
                build: true
            inheritance:
            permissions:
            - '*'
        Default:
            permissions:
            inheritance:
    
    Users.yml
    Code:
    users:
        melvinp:
            groups:
            - Admin
            permissions:
        sharinap:
            groups:
            - Moderator
            permissions:
        Doede:
            groups:
            - Trusted
            permissions:
        Moessie:
            groups:
            - Trusted
            permissions:
        peanut:
            groups:
            - Builder
            permissions:
        robbet:
            groups:
            - Trusted
            permissions:
        AprilliaSr:
            groups:
            - Builder
            permissions:
        pedobeer:
            permissions:
            groups:
            - Builder
        W_boele:
            permissions:
            groups:
            - Trusted
        koennb:
            permissions:
            groups:
            - Builder
        nickykolkie:
            permissions:
            groups:
            - Builder
        JobFikkers:
            permissions:
            groups:
            - Builder
        derkfikkers:
            permissions:
            groups:
            - Guest
    
    The Builders, Trusted people cant use the /item, /i, /give/ time/ day commands
    They are only can use these commands:
    The /mc, /bfly, //, works
     
  6. Offline

    Dark_Balor

    @melvinp : It's possible that Essentials overlap my commands.
    Can you try with : /bal_item (for /i)
    /bal_timeday (for /day)

    And tell me if the command works, and if in the MineCraft chat you see something ? (like : you don't have the permission to do that)
     
  7. Offline

    melvinp

    If i use the /bal_item command like this
    /bal_item 4 60 than it gives me 60 Cobblestone.

    Also the /bal_timeday works. It makes it daylight on the server
     
  8. Offline

    Dark_Balor

    @melvinp : okay ... Essentials overlap my aliases.
    You have 3 choices :
    1) Open the Essentials jar : open plugin.yml, look for item command, etc ... and delete it.
    2) Open My Plugin jar : open plugin.yml, change the alias by whatever you want.
    3) Using the real command name : (plugin.yml)
    My Plugin.yml (open)

    Code:
    name: AdminCmd
    main: com.Balor.bukkit.AdminCmd.AdminCmd
    version: 5.4
    author: Plague modded by Balor
    softdepend: [MultiVerse,Permissions]
    description: >
                 This plugin implements the basic commands for running a server.
    commands:
      bal_timeset:
        description: Set world time to a given timestamp/alias.
        aliases: time
        usage: /<command> day|night|dusk|dawn|<raw>
      bal_timeday:
        description: Short for /time day.
        aliases: day
        usage: /<command>
      bal_playerlist:
        description: Lists all online players.
        aliases: [playerlist,plist,who]
        usage: /<command>
      bal_playerheal:
        description: Heal the player.
        aliases: [pheal,heal]
        usage: /<command> (|playername)
      bal_playerkill:
        description: kill the player.
        aliases: [pkill,kill]
        usage: /<command> (|playername)
      bal_repair:
        description: Repair if possible the item in hand.
        aliases: [repair,rep]
        usage: /<command>
      bal_repairall:
        description: Repair if possible the item in hand.
        aliases: [repairall,repa]
        usage: /<command>
      bal_playerloc:
        description: Display choosen player location or if no name set, player location.
        aliases: [loc,location]
        usage: /<command> (|name)
      bal_itemmore:
        description: Sets the amount of items in hand to given amount or 64 if nothing given.
        aliases: more
        usage: /<command> (|amount)
      bal_item:
        description: Gives the player item of choice. You can specify someone else as the player.
        aliases: [i,item]
        usage: /<command> (name|id):[damage] [amount] [player]
      bal_addbl:
        description: BlackList an item
        aliases: [addblacklist,abl]
        usage: /<command> (name|id)
      bal_rmbl:
        description: remove the item from the blackList
        aliases: [rmblacklist,rbl]
        usage: /<command> (name|id)
      bal_itemcolor:
        description: Changes the color of a colorable item in hand.
        aliases: [c,color]
        usage: /<command> (colorname|colorid|help)
      bal_tpto:
        description: Teleports the player to another player.
        aliases: [tp,tpto]
        usage: /<command> (playername)
      bal_tp2p:
        description: Teleports chosen player to another chosen player
        aliases: [tp2p,t2p]
        usage: /<command> (playername from) (palyername to)
      bal_tphere:
        description: Teleports another player to the player.
        aliases: [s,tphere]
        usage: /<command> (playername)
      bal_tpthere:
        description: Teleport to.
        aliases: [tl,tploc]
        usage: /<command> [x][y][z]
      bal_playermsg:
        description: Sends a private message to another player.
        aliases: [msg,message]
        usage: /<command> (playername) (message text)
      bal_pclear:
        description: clear the inventory of the playername.
        aliases: [pclear,clear]
        usage: /<command> (playername)
      bal_wclear:
        description: clear the weather.
        aliases: [wclear,clearw]
        usage: /<command>
      bal_wstorm:
        description: make the weather stormy.
        aliases: [wstorm,storm]
        usage: /<command> (duration in minutes)
      bal_wstrike:
        description: strike the player with a lighting.
        aliases: [strike,light]
        usage: /<command> playername
      bal_thor:
        description: the player control the thunder.
        aliases: [thor,t]
        usage: /<command>
      bal_god:
        description: no more dmg for the player.
        aliases: [god,g]
        usage: /<command>
      bal_addalias:
        description: add a new alias.
        aliases: [alias,adda,aa]
        usage: /<command> alias (id|name)
      bal_rmalias:
        description: remove the alias.
        aliases: [rmalias,rma,ra]
        usage: /<command> alias
      bal_mob:
        description: spawn the desired mob.
        aliases: [mob]
        usage: /<command> mobName (Case Sensitive) [number]
      bal_kick:
        description: kick the player.
        aliases: [kick,kp]
        usage: /<command> playerName (|kickMessage)
      bal_setspawn:
        description: set the spawn location of the current world.
        aliases: [setspawn,sspawn,ss]
        usage: /<command>
      bal_spawn:
        description: TP to the spawn location.
        aliases: [spawn,ts]
        usage: /<command>
      bal_memory:
        description: used memory.
        aliases: [memory,mem]
        usage: /<command>
      bal_kickall:
        description: kick all online player.
        aliases: [kickall,kall]
        usage: /<command> message
      bal_vulcan:
        description: Give the power of Vulcan (explosion at click).
        aliases: [vulcan,v,fire]
        usage: /<command> playerName
      bal_drop:
        description: Drop an item at the player feet.
        aliases: [drop,d]
        usage: /<command> (name|id):[damage] [amount] [player]
      bal_invisible:
        description: Give the invisible power.
        aliases: [inv,invisible]
        usage: /<command> playerName
    
     
  9. Offline

    melvinp

    I dont have a jar file called: Essentials jar ?
    Or should i try a different permission plugin ?
     
  10. Offline

    Dark_Balor

    I has nothing to do with a Permissions Plugin, but with the Essentials plugin you installed (like I can see you added some node for it). You must have then a Essentials.jar in your plugins folder.
     
  11. Offline

    melvinp

    No i havent a Essentials.jar in my plugin folder
     
  12. Offline

    Gunzinger

    if i write forexample "/kick Gunzinger" :D, i dont get kicked, only this line apperars in the chat: "/kick PlayerName :)kickMessage)", same at some other functions, dont tested all yet, but /more for example has the same bug...

    Like your Plugin,
    Greets from Munich, Gunzinger :)

    Edit: After restart /i suddenly has the same bug :/
     
  13. Offline

    Dark_Balor

    Try with the last version :)
    Version 5.4.1
    [BUG FIX] Sometime command are not detected.
    [FEATURE] Added the items.csv from Essentials to add new alias (like wplank, wdoor, etc ...)

    @melvinp : then ... maybe another of your plugin is overlapping my commands ... Can I have the list of your plugins ?

    Version 5.4.2
    [BUG FIX] When you are Invisibile and quitting the server, no message is displayed now.
    [OPTIMIZATION] Refactoring some class, deplacing some code. Optimization of the code that manage god powers.
    [BUG FIX] When god/thor/vulcan/inv someone else then you, send a message to THAT person instead of you.
    [FEATURE] Added new command /spy to see every private message that are sended.

    Someone asked for that command hope you find it useful :)

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

    CainFoool

    [​IMG]

    I get that message everytime I do /i stone 1; even though it still gives me the stone. Help?
     
  15. Offline

    swift_fox24

    It's actually doing that to me even when god mode is cancelled and I have it much further than 10 blocks away.
     
  16. Offline

    melvinp

    @Dark_Balor i use a lot of plugins :p
    but here is a list
    Code:
    admincmd
    Autorepair
    backup
    bflight
    cleaner
    clearinventory
    coloredsigns
    commandbook
    craftbook
    dynmap
    fencestack
    floodgates
    givemewool
    ichat
    infchests
    iwarning
    lazyroad
    magiccarpet
    minecraftrkitplugin
    minestairs
    mywarp
    nofire
    nomorerain
    PlgEssentials
    Plgnohealth
    Permissions
    retrorepair
    setrank
    stargate
    tables
    worlfpound
    worldedit
    worldguard
    worldsave
    xauth
    
    Maybe Its the Plgessentials ?
    Edit: if i edit the YML file of the Plgessentials im also getting the same error.
    You dont have permission!
     
  17. Offline

    Dark_Balor

    Version 5.4.3
    [BUG FIX] No more Spam saying you don't have the permission to do that when you don't have the noBlackList node in Permissions

    But I don't have the giving bug, I mean, the plugin don't give me the blacklisted item. Are you sure it give it ?

    @melvinp : not maybe ... I'm SURE :)
    As explained in the first line of the thread, my plugin is a fork (taking the source code and modifying some) of PlgEssentials, we share the same aliases ...
    First version of my plugin :
    Version 4.1
    Fork from PlgEssentials by @Plague

    Then you can delete it, all its command, I have it :)

    @swift_fox24 : mmmh I have that bug too, it's a bukkit bug, not my plugin. If you can do a screenshot and explain the situation when it happen, it could help :)
     
  18. Offline

    CainFoool

    Thank.you.
    Finally, no more spam.
     
  19. Offline

    swift_fox24

    A screenshot won't help you much. I'm trying to vulcan a building, about 15 blocks tall. I can flymod and do it from close to 100 blocks away, or from 15. The result is the same. If it's on the roof, fire appears, if it's on the side, nothing happens. The building is made out of smoothstone and glass. No error message on console.
     
  20. Offline

    Dark_Balor

    @swift_fox24 : Well I don't have any idea why sometime it's not working ...
    Only fire appear ... that mean that the explosion was triggered. Do you any protection plugin ? (like wordgard) or any protection again creeper explosion or any kind of plugin that can interfere with an explosion ?
     
  21. Offline

    swift_fox24

    I think I disabled explosions on WorldGuard, thinking it was TNT disabling. Thanks, I'm an idiot. Now I'm off to troll through bunches of text to find how to keep explosions on but TNT off.
     
  22. Offline

    Dark_Balor

    Well the problem is ... that the explosion made by the Vulcan mode is the same (for bukkit) as a TNT explosion. Meaning if you deactivate TNT, you deactivate Vulcan (and explosion made by Ghast too).
     
  23. Offline

    melvinp

    I have deleted the plgessentials.jar
    And still it doesnt work. saying you dont have permission.
     
  24. Offline

    Dark_Balor

    Did you restart the server ?
     
  25. Offline

    nemesis91

    @Dark_Balor,

    Some recommendations to this plugin since you already have teleporting.

    Warping
    -/cwarp <name> - Create a warp point
    -/dwarp <name> - Delete a warp point
    -/warp <name> - Warp to warp name
    -/lwarp - List available warps

    Spawning
    -/setspawn - Creates spawn point for all players to spawn at
    -/setgspawn <group name>- Create group spawn
    -/gspawn - Spawn to your current groups home spawn
    -/spawn - spawn at the main public spawn point
     
  26. Offline

    melvinp

    Yes a couple of times!
     
  27. When i make /t OtherPlayer
    then only came a message to the other player not to me!
     
  28. Offline

    Tauryuu

    Does this have full Multi-World support?
     
  29. Offline

    Dark_Balor

    I don't have any /t command, you maybe talking about the /tp or /tphere command, in all the case only the command sender see the message/
    @melvinp : ... then I don't know... if the commandName works but not the aliases, I'm lost ...

    @nemesis91 : /setstpawn and /spawn command already exist. Can you give me more information about the warping commands ?

    @Tauryuu : If you are talking about the /spawn, /setspawn yes they are set by world. For the other command, you can give item, etc .. to anybody in every world.
     
  30. Offline

    nemesis91

    How about the group spawn commands? Those would pertain to the various group memberships for those utilize permissions. To expand on this further, how about a /sethome and /home command? This would be a home teleport point centric to the creating user.

    Warping is kind of like a setspawn/spawn command except this would allow for warping to various parts of the map. If a player has permission to say, admincmd.warp.warpto, they could warp/teleport to any created warp displayed under the /lwarp (list warp) command. The concept is more or less public settable teleport points - assuming the operator of the server has allowed groups to use, for example, admincmd.warp.createwarp, admincmd.warp.listwarp, and so.

    Let me know if I've made sense on the above or not :)
     
  31. Offline

    Steve7596

    I dont know if anyone has asked this question (there are to many posts! lol) But, for permissions instead of putting 'admincmd.item.*' and 'admincmd.player.*', etc.

    Can I just put 'admincmd.*.*' and have access to all of the cmds as an admin on my server? If so this will save lots of time and frustation of putting every permission node. :D
     

Share This Page