[GEN/SEC/ECON/TP/ADMN] Essentials - A collection of useful commands

Discussion in 'Archived: Plugin Releases' started by EssentialsTeam, Apr 30, 2011.

  1. Offline

    Dogboydan

    Hi, i love this great mod, but i'm having difficulty setting it up with the permissions plugin. Everything loads correctly, but currently everyone has access to all commands. I've tried doing things like '-essentials.god' under the permissions but that group seems to still have access to the command even after a server restart. I have the permissions pretty much stock (Groups are default, mod and, admin) and users is set up. Can someone point me to a tutorial for setting up the globalgroups.yaml with this mod or post their own? For the default group is it easier to just '-essentials.*' and then add permissions for specific commands they can access, or is it better to just negate (-) any commands i don't want them to use.
     
  2. Offline

    RugRats

    @essentialsteam
    When you spawn a mob it says "amount nameofmobspawned' So example 1 creeperspawned. Missing a space?
     
  3. Offline

    Chasingu

    Alright, I am having a horrible time setting up your plugin.

    Since I cannot get people to stop spawning items with permissions because something is wrong with your plugin, I tried to blocklist every single item in the game. However, this does not work.

    config.yml: http://pastebin.com/tpaEB0rD
    server.log: http://pastebin.com/igwNxHs9

    This is really pissing me off since I really need to use your plugin for essential things on my server, and no matter what I try I cannot get it to work. Please Please Please, help me with this.
     
  4. Offline

    RugRats

    it's a lot more then this plugin lol send me teamviewer info in a pm. I can help you. Also you need permissions before I can help you.
     
  5. Offline

    Chasingu

    It shouldn't need TeamViewer. Plus, I have permissions, which is one of the reasons why this pisses me off because it should just be that simple. No Offense or anything really, but Im not really going to trust some random person off of the internet on my computer so that they can have full access to it along with every single computer on the network.
     
  6. Offline

    RugRats

    It's fine. Post your permissions please. It is not essentials fault. Just saying.
     
  7. Offline

    Chasingu

    Actually, the permissions people said that this is a Essentials problem. I believe them, because this is the only thing that doesn't work correctly.

    But, here you go.
    groups.yml: http://pastebin.com/NCZgMHJV
    users.yml: http://pastebin.com/eFpu7sWJ
     
  8. Offline

    RugRats

    Well make sure you use the newest version of essentials and permissions. But if you use 3.1.6 change your permissions to this.

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - essentials.help
            - essentials.signs.trade.create
            - essentials.signs.trade.use
            - essentials.signs.buy.use
            - essentials.signs.sell.use
            - essentials.signs.balance.use
            - essentials.back
            - essentials.back.ondeath
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.home
            - essentials.sethome
            - essentials.warp
            - essentials.warp.list
            - essentials.balance
            - essentials.pay
            - essentials.afk
            - essentials.me
            - essentials.list
            - essentials.mail
            - essentials.mail.send
            - essentials.nick
            - essentials.gc
            - tetris.use
            - lockette.user.create.*
            - bookworm.create
            - bookworm.write.own
            - bookworm.copy.own
            - bookworm.copy.others
            - bookworm.remove.own
            - bookworm.destroy.own
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - bar.foo
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - '*'
    Here is my essentials config. Take it and edit it.

    Code:
    ############################################################
    # +------------------------------------------------------+ #
    # |                       Notes                          | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI.
    # If you receive an error when Essentials loads, ensure that:
    #   - No tabs are present: YAML only allows spaces
    #   - Indents are correct: YAML heirarchy is based entirely on indentation
    #   - You have "escaped" all apostrophes in your text: If you want to write "don't", for example, write "don''t" instead (note the doubled apostrphe)
    #   - List items are prefixed with a hyphen and indented:
    #       lists:
    #         - look like this
    #       not:
    #       - like this
    #   - Text with symbols is enclosed in single or double quotation marks
    #   - CraftBukkit and Permissions have been updated: CraftBukkit and Essentials almost always line up, but sometimes other plugins fall behind CraftBukkit's multiple daily updates
    #   - You have saved the document as UTF-8, NOT the default, ANSI
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Essentials (Global)                  | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: '8'
    
    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~'
    
    # The delay, in seconds, required between /home, /tp, etc.
    teleport-cooldown: 0
    
    # The delay, in seconds, before a user actually teleports.  If the user moves or gets attacked in this timeframe, the teleport never occurs.
    teleport-delay: 0
    
    # The delay, in seconds, required between /heal attempts
    heal-cooldown: 0
    
    # The number of items given if the quantity parameter is left out in /item or /give.
    default-stack-size: 64
    
    # What to prevent from /i /give
    # e.g item-spawn-blacklist: 46,11,10
    item-spawn-blacklist: 46,7,327,326,51,10,8,259,9,10,11,52,49,57,56,18,19
    
    # Set this to true if you want permission based item spawn rules
    # Permissions:
    #  - essentials.itemspawn.item-all
    #  - essentials.itemspawn.item-[itemname]
    #  - essentials.itemspawn.item-[itemid]
    #  - essentials.give.item-all
    #  - essentials.give.item-[itemname]
    #  - essentials.give.item-[itemid]
    permission-based-item-spawn: false
    
    # Whether or not to reclaim memory on player logout; this is technical, and should only be changed under special circumstances.
    # This generally increases server stability unless very specific runtime configurations are used.
    # HOWEVER, it is known to cause lag upon users logging OUT, so beware!
    reclaim-onlogout: true
    
    # Should primitive spawn protection be enabled?  For most servers, this should be flase; it is better to use a third-party plugin to protect it.
    spawn-protection: false
    
    # Nether settings (switch between worlds with "/world nether" and "/world normal")
    # Sets whether the nether system is enabled, what folder to save the world in, and whether portals should teleport players between worlds.
    nether:
      enabled: true
      folder: nether
      portals-enabled: true
      generate-exit-portals: false
      ratio: 16
    
    # Mob limit on spawnmob
    spawnmob-limit: 40
    
    #Shall we notify users when using /lightning
    warn-on-smite: true
    
    # The message of the day, displayed on connect and by typing /motd.
    motd:
      - '&cWelcome, {PLAYER}&c!'
      - '&fType &c/help&f for a list of commands.'
      - '&fType &c/rules&f for a list of rules.'
      - 'Currently online: {PLAYERLIST}'
    
    # The server rules, available by typing /rules
    rules:
      - '[1]. Be Respectful'
      - '[2]. No Extreme Griefing At All'
      - '[3]. No Disrespecting Staff'
      - '[4]. Common Sense'
    
    # When a command conflicts with another plugin, by default, Essentials will try to force the OTHER plugin to take
    # priority.  If a command is in this list, Essentials will try to give ITSELF priority.  This does not always work:
    # usually whichever plugin was updated most recently wins out.  However, the full name of the command will always work.
    # For example, if WorldGuard and Essentials are both enabled, and WorldGuard takes control over /god, /essentials:god
    # will still map to Essentials, whereas it might normally get forced upon WorldGuard.  Commands prefixed with an "e",
    # such as /egod, will always grant Essentials priority.
    # We should try to take priority over /god.  If this doesn't work, use
    # /essentials:god or /egod.  If god is set using WorldGuard, use /ungod to remove then use whichever you see fit.
    overridden-commands:
    - god
    - heal
    disabled-commands:
    # - nick
    
    # Restricted commands will only be available to ops.
    # These will have NO EFFECT if you have Permissions installed!
    # These are here only if you want something simpler than Permissions.
    restricted-commands:
      - bigtree
      - item
      - give
      - heal
      - plugin
      - time
      - top
      - tp
      - tphere
      - tree
      - setspawn
      - antioch
      - kick
      - ban
      - unban
      - top
      - jump
      - tpo
      - tppos
      - tpohere
      - economy
      - setwarp
      - delwarp
      - essentials
      - gc
      - spawnmob
      - broadcast
      - burn
      - ext
      - kill
      - ping
      - banip
      - unban
      - mute
      - kick
      - kickall
      - unbanip
      - togglejail
      - setjail
      - eco.loan
    
    # Note: All items MUST be followed by a quantity!
    # Times are measured in seconds.
    kits:
      tools:
        delay: 10
        items:
          - 277 1
          - 278 1
          - 279 1
      Rug:
        delay: 10
        items:
          - 278 1
          - 345 1
    
    # Disable all signs
    signs-disabled: false
    
    # Backup runs a command while saving is disabled
    backup:
      # Interval in minutes
      interval: 60
      # Add a command that backups your data, e.g.
      # command: 'rdiff-backup World1 backups/World1'
    
    # Set this true to enable permission per warp.
    per-warp-permission: false
    
    # Sort output of /list command by groups
    sort-list-by-groups: false
    
    # More output to the console
    debug: false
    
    # Set the locale for all messages
    # If you don't set this, the default locale of the server will be used.
    #locale: de_DE
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsHome                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # When users die, should they respawn at their homes, instead of the spawnpoint?
    respawn-at-home: false
    
    # When a user interacts with a bed, should their home be set to that location?
    # If you enable this and remove default user access to the /sethome command, you can make beds the only way for players to set their home location.
    bed-sethome: false
    
    #if no home is set send you to spawn when /home is used
    spawn-if-no-home: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsEco                      | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # Defines the balance with which new players begin.  Defaults to 0.
    starting-balance: 0
    
    # worth-# defines the value of an item when it is sold to the server via /sell.
    # These are now defined in worth.yml
    
    # Defines the cost to use the given commands PER USE
    command-costs:
      # /example costs $1000 PER USE
      #example: 1000
      # /kit tools costs $1500 PER USE
      #kit-tools: 1500
    
    # Set this to a currency symbol you want to use.
    currency-symbol: '$'
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsHelp                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    #Show other plugins commands in help
    non-ess-in-help: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsChat                     | #
    # +------------------------------------------------------+ #
    ############################################################
    
    # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
    # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
    # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
    # Or with essentials.chat.question can override this by prefixing text with a question mark (?)
    chat:
      radius: 0
    
      # If set to the default chat format which "should" be compatible with ichat.
      format: '<{DISPLAYNAME}> {MESSAGE}'
      #format: '&7[{GROUP}]&f {DISPLAYNAME}&7:&f {MESSAGE}'
    
      # You can also have group-specific formats, uncomment to enable:
      group-formats:
      #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&f {MESSAGE}'
      #  Admins: '{WORLDNAME} &c[{GROUP}]&f {DISPLAYNAME}&7:&c {MESSAGE}'
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                 EssentialsProtect                    | #
    # +------------------------------------------------------+ #
    ############################################################
    
    protect:
      # Database settings for sign/rail protection
      # get mysql.jar and sqlite and place it in your serverroot/lib directory from here:
      # http://java.net/projects/essentials/sources/svn/show/lib?rev=435
    
      # mysql, sqlite or none
      datatype: 'sqlite'
    
      # If you specified MySQL above, you MUST enter the appropriate details here.
      # If you specified SQLite above, these will be IGNORED.
      username: 'root'
      password: 'root'
      mysqlDb: 'jdbc:mysql://localhost:3306/minecraft'
    
      # For which block types would you like to be alerted?
      # You can find a list of IDs in plugins/Essentials/items.csv after loading Essentials for the first time.
      alert:
        # 10: lava
        # 11: still lava
        # 46: TNT
        on-placement: 10,11,46
        on-use:
        # 46: TNT
        on-break: 46
    
      # Users cannot PLACE these types of blocks/items.
      # < 255 designates a BLOCK
      # > 255 designates an ITEM (Some blocks can be placed as blocks OR items; lava blocks can be placed by lava buckets, for example.)
      blacklist:
        placement: 327,326,14,56,46,11,10,9,8
        usage: 327,326,325
    
        #prevent people from breaking blocks
        #break: 20,50
        break:
    
      # General physics/behavior modifications
      prevent:
        lava-flow: false
        water-flow: false
        water-bucket-flow: false
        fire-spread: true
        lava-fire-spread: true
        flint-fire: false
        lightning-fire-spread: true
        portal-creation: false
        tnt-explosion: false
        creeper-explosion: false
        creeper-playerdamage: false
        creeper-blockdamage: false
        # Monsters won't follow players
        # permission essentials.protect.entitytarget.bypass disables this
        entitytarget: false
        # Prevent the spawning of creatures
        spawn:
          chicken: false
          cow: false
          creeper: false
          ghast: true
          giant: false
          monster: false
          pig: false
          pig_zombie: false
          sheep: false
          skeleton: false
          slime: true
          spider: false
          squid: false
          zombie: false
          wolf: false
    
      # Maximum height the creeper should explode. -1 allows them to explode everywhere.
      # Set prevent.creeper-explosion to true, if you want to disable creeper explosions.
      creeper:
        max-height: -1
    
      # Protect various blocks.
      protect:
        # Protect all signs
        signs: true
    
        # Prevent users from destroying rails
        rails: true
    
        # Blocks below rails/signs are also protected if the respective rail/sign is protected.
        # This makes it more difficult to circumvent protection, and should be enabled.
        # This only has an effect if "rails" or "signs" is also enabled.
        block-below: true
    
       # Prevent placing blocks above protected rails, this is to stop a potential griefing
        prevent-block-on-rails: false
    
      # Disable various default physics and behaviors
      disable:
        # Should fall damage be disabled?
        fall: false
    
        # Users with the essentials.protect.pvp permission will still be able to attack each other if this is set to true.
        # They will be unable to attack users without that same permission node.
        pvp: false
    
        # Should drowning damage be disabled?
        # (Split into two behaviors; generally, you want both set to the same value)
        drown: false
        suffocate: false
    
        # Should damage via lava be disabled?  Items that fall into lava will still burn to a crisp. ;)
        lavadmg: false
    
        # Should arrow damage be disabled
        projectiles: false
    
        # This will disable damage from touching cacti.
        contactdmg: false
    
        # Burn, baby, burn!  Should fire damage be disabled?
        firedmg: false
    
        # Should the damage after hit by a lightning be disabled?
        lightning: false
    
        # Should people with build: false in permissions be allowed to build
        # Set true to disable building for those people
        build: true
    
        #Should we tell people they are not allowed to build
        warn-on-build-disallow: false
    
        #disable weather options
        weather:
          storm: false
          thunder: false
          lightning: false
    
    ############################################################
    # +------------------------------------------------------+ #
    # |                    New Players                       | #
    # +------------------------------------------------------+ #
    ############################################################
    
    newbies:
      # Should we announce to the server when someone logs in for the first time?
      # If so, use this format, replacing {DISPLAYNAME} with the player name.
      # If not, set to ''
      #announce-format: ''
      announce-format: '&dWelcome {DISPLAYNAME} to the server!'
    
      # When we spawn for the first time, which spawnpoint do we use?
      spawnpoint: newbies
    
    # End of File <-- No seriously, you're done with configuration.
    You do not have to mess with the item spawn blacklist.
     
  9. Offline

    Chasingu

    Tried out your permissions file for groups.yml and doesn't work. Gives same results as last time.

    2.3.7 Essentials and 3.1.6 Permissions

    Also, this is also affecting everything that Essentials has Permission Nodes for.

    Players can give themselves more money, change time of day, things like that.
     
  10. Offline

    RugRats

    This is a problem I've never encountered and I've been a server owner for more then a year. I heard that this stuff happens to people. So I guess you'll have to wait for someone else to help you.
     
  11. Offline

    Pythros

    I'm a bit OCD when it comes to lists. Would someone know why my groups.yml in GroupManager keep getting moved around in the file when I have a specific order I put them in? Such as:
    I saved:
    Group 1
    Group A
    Group 2
    Group B

    When I open the file later is shows up as:
    Group B
    Group 1
    Group 2
    Group A

    I only have access to the file so I know no one else is doing this.
     
  12. Offline

    Chasingu

    Alright. Thanks for your attempt at help. To be honest, you were more helpful then the people who actually made the plugin. Ill try again tommorow, this has made me very tired. Thanks for you attempted help though RugRats.

    @Pythros, if you are talking about files in a folder, they move around because the one that was last accessed by the program is usually on the top. You can on certain operating systems configure this to have it by alphabetical order.
     
  13. Offline

    RugRats

    No problem!
     
  14. Offline

    Pythros

    No, I'm talking about the groups within GroupManager's group.yml file.

    Nothing is broken, just annoying.
     
  15. Offline

    EssentialsTeam

    @Chasingu: Disable permission-based-item-spawn
    @Pythros: that is because GM saves the file.
     
  16. Offline

    Xordaii

    Take all the herps and derps and foobars out of it, and delete Moderator group if you aren't even using it (there are no extra permissions in it.) Not sure if the deleting Moderators will help, but it helps narrow it down.
    KEEP the single quotes, Permissions needs them.

    this:
    Code:
            permissions:
               - 'essentials.help'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.use'
    the lines after 'essentials.help' need to be evenly lined up with it, they are indented over a space or two just by looking.

    Haven't run it through myself, but you seem to know what you are doing, so use this to check it for other errors (tabs, spaces for indents not being multiples of 4, not lining up correctly, etc.)
     
  17. Offline

    Infectedd

     
  18. Offline

    Xordaii

    Parser can't find any errors with it @Infectedd
    Try opening the file again, and saving it with UTF-8 encoding?
     
  19. Offline

    EssentialsTeam

    @Infectedd Your disabled-commands are wrong, don't use the / and write it as list.
     
  20. Offline

    KiloWhiskey

    If you are running PEX instead of Permissions 2.x-3.x then it's the plugin. PermissionsEX doesn't know or care what order the items were originally in. Each time you make a change to any permission in game, the plugin will shuffle things around randomly. If you are running Permissions 2.x-3.x then I can't help you because my files are never changed without me getting into them and making the changes by hand. Then again, I haven't used any of the in-game commands since I switched to Permissions 3+, I use PermissionPlus to do in game changes and make all the other changes by hand outside of the game and then just do a permissions -reload all.
     
  21. Offline

    Pythros

    So you are saying as we say at my work, working by design? :p
    That's annoying.
     
  22. Offline

    ultra916

    How can i create multiworld with essentials? I need different groups, how can i make it?:O Anyone can help me? Im trying many multiworld plugin. ( Nothing work with essentials groupmanagger, :( )
     
  23. Offline

    enchanter100

    Is there a way to disable the /sell command or the whole economy completely? I can add -essentials.sell but I use a shop program called bettershop. And it has a /sell command. When I use -essentials.sell it doesn't allow my /sell in bettershop.
     
  24. Offline

    Chasingu

    They are lined up exactly. Deleted the moderator group and herp.derp things.
    Still nothing. Also, this wouldn't stop time/day and others.

    If this helps at all:

    I want people to be able to make trade signs.
    I want people to be able to buy from buy signs and sell from sell signs.
    I want people to be able to see their balance.
    I want people to be able to send mail.
    I want people to be able to use the back command and use it on death.
    I want people to be able to pay other players.
    I want people to be able to teleport accept and approve or deny requests.
    I want people to be able to warp to and set home.
    I want people to be able to see available warps and use them.
    I want people to be able to use the /me, mail send, mail read, /nick, and /help commands.
    I do not want people spawning items.
    I do not want people giving themselves money.
    I do not want people changing the time of day.
    I do not want people making their own warps.
    I do not want people changing other people's names.

    Everything I specified above is in the permissions file with the nodes.

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

    Pythros

    I'm not missing something of how you can order the groups when doing /list am I?
    Also, why doesn't it show the colors of users when doing /list. I know at one point it did.
     
  26. Offline

    vasil7112

    SoS!!It doesn't work for me..i have 935 bukkit version and 2.3 essentials..and everything says that work..but actually doesn't..
    E.g God Or Spawn e.t.c
     
  27. Offline

    Croyd

    Anyone having a problem with the /realname command not doing anything? Swear it was working week or so ago but not response from it now.

    Oh and the command does come back and give you its command arguments when you type it in by itself.

    Just never displays the realname when I use the command.
     
  28. Offline

    Infectedd

    Totally same here? What on earth, i deleted the config and it STILL gives the same error on startup. Also on /spawn
    Code:
    20:19:01 [WARNING] Failed to teleport new player
    java.lang.NullPointerException
            at com.earth2me.essentials.spawn.EssentialsSpawnPlayerListener$1.run(Ess
    entialsSpawnPlayerListener.java:64)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Also /weather gives a "Unknown command"
    Also item names don't work with /i
     
  29. Offline

    RugRats

    All of your are doing something wrong. I'll tell you that right now. Essentials 2.7 works perfectly fine on 935 my server. No problems. Please wait for further assistance as I cannot help you because I've never had this problem.
     
  30. Offline

    Chasingu

    Im pretty sure we all know we are doing something wrong. That is pretty obvious. However, what isn't helpful is you bragging about how it works all fine and dandy on your server, while others are struggling getting it to install. If you really have nothing to help us with, why even post that? Also, it is pretty hard to wait for assistance when the person who knows everything about the plugin, is never on at the same time I am.
     

Share This Page