Jump to content

Server Permissions - Setups


kawaiiwolf

Recommended Posts

It wouldn't surprise me if I wasn't the only one who's first bukkit server setup was the tekkit pack. It took me a few hours and a bit of tinkering to get it to work stably for a simple setup so I thought I'd share my findings to help save you guys some time as well:

Step 1 - Bukkit Plugins

- PermissionsBukkit ( http://dev.bukkit.org/server-mods/permbukkit/ ). As I couldn't quite get the flat file permissions to work ... at all ... call me inept or what have you, I went for the defacto plugin. It's got a lot of shiny features and the potential for complicated setup, but in the end, it does what I need it to.

- Essentials ( http://dev.bukkit.org/server-mods/essentials/ ). CommandBook is nice and all, but it's frustrating as hell when the motd suggests players to type "/help" and there's no permission set in CommandBook to let them do this. It's also quite a bit more feature rich if you're willing to take the time to look into it and does (most) everything that CommandBook can do.

- Removing CommandBook. Unfortunately, there are a lot of command conflicts that I couldn't figure out how to reconcile and since CommandBook was mostly redundant with Essentials installed, it simply had to go.

Step 2 - Permissions

As a preamble, this is a whitelisted server for myself and friends, so griefing isn't an issue and since we're legit building (no item spawning), op rights aren't generally required.

Everything is in the plugins/PermissionBukkit/config.yml file. Here's a copy of mine (This is the whole file. Note: NO TABS, tabs = bad):

http://xshade.ca/projects/towny/ and the ever essential Essentials (See link above). He's included links for his permissions setup ( http://forums.technicpack.net/index.php?topic=83.msg965#msg965 ), but you can take a look at his permission file here:

groups:

  default:

    permissions:

      permissions.build: true

      essentials.help: true

      essentials.home: true

      essentials.sethome: true

      essentials.motd: true

      essentials.kit: true

      essentials.kit.*: true





This lets users see a MotD, teleport to (and set) their homes and spawn a basic kit to get themselves started (Wooden Pick/Shovel/Axe, some planks, torches and a couple cookies to tide them over). 





That's my story. If you have alternate permission setups, please post them here. Server administration can be a bit of a chore, so the easier we make it for new server admins, the more servers we have available.







Volgarenthor gives a much more complicated setup, with no less than 8 role groups. His server employs PermsEX (need link), 
Groups:

  Visitor:

    default: true

    prefix: '&7[Visitor]&f:'

    options:

      build: false

      rank: 1000

    permissions:

    - essentials.afk

    - essentials.helpop

    - essentials.helpop.receive

    - essentials.ignore

    - essentials.list

    - essentials.me

    - essentials.motd

    - essentials.msg

    - essentials.realname

    - essentials.rules

    - essentials.seen

    - essentials.suicide

    - essentials.spawn

    - essentials.tpaccept

    - essentials.tpdeny

    - essentials.kit

    - essentials.kit.visitor

    - -modifyworld.bucket.empty.water

    - -modifyworld.bucket.empty.lava

    - -modifyworld.bucket.fill.water

    - -modifyworld.bucket.fill.lava

    - modifyworld.*

  Citizen:

    default: false

    prefix: '&3[Citizen]&f:'

    options:

      build: true

      rank: 500

    inheritance:

    - Visitor

    permissions:

    - essentials.balance

    - essentials.balance.others

    - iconomy.holdings

    - essentials.balancetop

    - essentials.pay

    - essentials.compass

    - essentials.depth

    - essentials.getpos

    - essentials.mail

    - essentials.mail.send

    - essentials.delhome

    - essentials.home

    - essentials.sethome

    - essentials.sethome.multiple

    - essentials.kit.starter

    - essentials.kit.newbie

    - towny.wild.*

    - towny.claimed.owntown.block.*

    - towny.town.*

    - towny.nation.*

  Trusted:

    default: false

    prefix: '&a[Trusted]&f:'

    options:

      build: true

      rank: 100

    inheritance:

    - Citizen

    permissions:

    - essentials.sethome.multiple.medtier

    - essentials.kit.irontools

    - -modifyworld.bucket.empty.lava

    - -modifyworld.bucket.fill.lava

    - modifyworld.*

  Builder:

    default: false

    prefix: '&6[builder]&f:'

    options:

      build: true

      rank: 50

    inheritance:

    - Trusted

    permissions:

    - -essentials.kit.irontools

    - essentials.kit.goldtools

    - essentials.heal

    - essentials.heal.cooldown.bypass

    - essentials.jump

    - essentials.tpa

    - modifyworld.*

  Veteran:

    default: false

    prefix: '&5[Veteran]&f:'

    options:

      build: true

      rank: 25

    inheritance:

    - Builder

    permissions:

    - -essentials.kit.visitor

    - essentials.kit.*

    - essentials.sethome.multiple.hightier

    - essentials.back

    - essentials.back.ondeath

    - essentials.heal.others

    - essentials.top

  Moderator:

    default: false

    prefix: '&9[Moderator]&f:'

    options:

      build: true

      rank: 3

    inheritance:

    - Builder

    permissions:

    - -essentials.setworth

    - -essentials.backup

    - -essentials.essentials

    - -essentials.gc

    - -essentials.remove

    - -essentials.socialspy

    - -essentials.sudo

    - -essentials.setspawn

    - -essentials.setxmpp

    - -essentials.xmpp

    - -essentials.xmppspy

    - essentials.*

    - -bukkit.command.reload

    - -bukkit.command.save.perform

    - -bukkit.command.save.disable

    - -bukkit.command.save.enable

    - towny.admin

    - permissions.manage.membership.*

  Admin:

    default: false

    prefix: '&c[Admin]&f:'

    options:

      build: true

      rank: 2

    inheritance:

    - moderator

    permissions:

    - -essentials.socialspy

    - -essentials.xmppspy

    - essentials.*

    - bukkit.command.reload

  Owner:

    default: false

    prefix: '&4[Owner]&f:'

    options:

      build: true

      rank: 1

    permissions:

    - '*'

Link to comment
Share on other sites

I agree about CommandBook, Essentials and other plugins are more modular than CommandBook. (Removed it as well)

Regarding permissions, there are other permission plugins as well. I use PEX for my server. (not gonna fetch the my permissions list right now cause it includes nodes from other plugins that wouldn't really be needed by the others here)

Link to comment
Share on other sites

I figured i should share this, considering this community needs more exposure and love. We spent 2 weeks debugging the perms and finally have a flawlessly working perms setup for large scale server support, complete with working ranks and websend garbage. HERP, also need to add the config files and such, but it works great, we will be debuting our Steampunk RP/PvP server named Terra Novo using this package very soon, if you are interested in checking us out, visit us at terranovos.enjin.com.

Link to comment
Share on other sites

Current setup is 8 different ranks, lowest is visitor, unable to do really anything including build until they register, then websend updates. They can use basic functions like helpchat and whatnot, Citizen has access to home/sethome, we had a HUGE issue with these two commands working properly. Kits are also working and each rank except visitor has their own kit. Quality of life perms are given at next above citizen, and the list goes up. When i have time, ill sit down and write it all out for you so you can update the thread. Basicly everything that youd expect a server to have working, does, and the perms have all been worked out just fine. Ill update this in 10 hours.

Be back soon.

Link to comment
Share on other sites

Here you go, as promised:

roups:

Visitor:

default: true

prefix: '&7[Visitor]&f:'

options:

build: false

rank: 1000

permissions:

- essentials.afk

- essentials.helpop

- essentials.helpop.receive

- essentials.ignore

- essentials.list

- essentials.me

- essentials.motd

- essentials.msg

- essentials.realname

- essentials.rules

- essentials.seen

- essentials.suicide

- essentials.spawn

- essentials.tpaccept

- essentials.tpdeny

- essentials.kit

- essentials.kit.visitor

- -modifyworld.bucket.empty.water

- -modifyworld.bucket.empty.lava

- -modifyworld.bucket.fill.water

- -modifyworld.bucket.fill.lava

- modifyworld.*

Citizen:

default: false

prefix: '&3[Citizen]&f:'

options:

build: true

rank: 500

inheritance:

- Visitor

permissions:

- essentials.balance

- essentials.balance.others

- iconomy.holdings

- essentials.balancetop

- essentials.pay

- essentials.compass

- essentials.depth

- essentials.getpos

- essentials.mail

- essentials.mail.send

- essentials.delhome

- essentials.home

- essentials.sethome

- essentials.sethome.multiple

- essentials.kit.starter

- essentials.kit.newbie

- towny.wild.*

- towny.claimed.owntown.block.*

- towny.town.*

- towny.nation.*

Trusted:

default: false

prefix: '&a[Trusted]&f:'

options:

build: true

rank: 100

inheritance:

- Citizen

permissions:

- essentials.sethome.multiple.medtier

- essentials.kit.irontools

- -modifyworld.bucket.empty.lava

- -modifyworld.bucket.fill.lava

- modifyworld.*

Builder:

default: false

prefix: '&6[builder]&f:'

options:

build: true

rank: 50

inheritance:

- Trusted

permissions:

- -essentials.kit.irontools

- essentials.kit.goldtools

- essentials.heal

- essentials.heal.cooldown.bypass

- essentials.jump

- essentials.tpa

- modifyworld.*

Veteran:

default: false

prefix: '&5[Veteran]&f:'

options:

build: true

rank: 25

inheritance:

- Builder

permissions:

- -essentials.kit.visitor

- essentials.kit.*

- essentials.sethome.multiple.hightier

- essentials.back

- essentials.back.ondeath

- essentials.heal.others

- essentials.top

Moderator:

default: false

prefix: '&9[Moderator]&f:'

options:

build: true

rank: 3

inheritance:

- Builder

permissions:

- -essentials.setworth

- -essentials.backup

- -essentials.essentials

- -essentials.gc

- -essentials.remove

- -essentials.socialspy

- -essentials.sudo

- -essentials.setspawn

- -essentials.setxmpp

- -essentials.xmpp

- -essentials.xmppspy

- essentials.*

- -bukkit.command.reload

- -bukkit.command.save.perform

- -bukkit.command.save.disable

- -bukkit.command.save.enable

- towny.admin

- permissions.manage.membership.*

Admin:

default: false

prefix: '&c[Admin]&f:'

options:

build: true

rank: 2

inheritance:

- moderator

permissions:

- -essentials.socialspy

- -essentials.xmppspy

- essentials.*

- bukkit.command.reload

Owner:

default: false

prefix: '&4[Owner]&f:'

options:

build: true

rank: 1

permissions:

- '*'

This is just the PEX yml, if you need more, please say so and i will post it.

Link to comment
Share on other sites

  • 3 weeks later...

*edit* Thanks to the author of LWC, a new dev build now supports wildcards. Here's a basic setup that protects Tekkit machines:

  blocks:

    chest:

      enabled: true

    furnace:

      enabled: true

    dispenser:

      enabled: true

    sign:

      enabled: true

    wooden_door:

      enabled: true

    iron_door:

      enabled: true

    trap_door:

      enabled: true

    116:*:

      enabled: true

    124:*:

      enabled: true

    125:*:

      enabled: true

    126:*:

      enabled: true

    127:*:

      enabled: true

    136:*:

      enabled: true

    137:*:

      enabled: true

    138:*:

      enabled: true

    147:*:

      enabled: true

    149:*:

      enabled: true

    150:*:

      enabled: true

    151:*:

      enabled: true

    153:*:

      enabled: true

    154:*:

      enabled: true

    155:*:

      enabled: true

    157:*:

      enabled: true

    158:*:

      enabled: true

    160:*:

      enabled: true

    161:*:

      enabled: true

    164:*:

      enabled: true

    165:*:

      enabled: true

    167:*:

      enabled: true

    169:*:

      enabled: true

    171:*:

      enabled: true

    174:*:

      enabled: true

    179:*:

      enabled: true

    187:*:

      enabled: true

    188:*:

      enabled: true

    189:*:

      enabled: true

    190:*:

      enabled: true

    196:*:

      enabled: true

    201:*:

      enabled: true

    203:*:

      enabled: true

    204:*:

      enabled: true

    205:*:

      enabled: true

    206:*:

      enabled: true

    210:*:

      enabled: true

    211:*:

      enabled: true

    212:*:

      enabled: true

    218:*:

      enabled: true

    219:*:

      enabled: true

    225:*:

      enabled: true

    227:*:

      enabled: true

    233:*:

      enabled: true

    235:*:

      enabled: true

    246:*:

      enabled: true

    250:*:

      enabled: true

Link to comment
Share on other sites

I found it, but can't again....I was wondering if anyone knows the entity permissions I need to set up in PermissionsEx so that folks can run their quarries and such. I know it has something to do with modifyworld and the names like [Redpower] etc etc.

Any ideas?

Ok. I found the file on pastebin (after much searching, and would like to share it with others that may need it.

http://pastebin.com/uLF1FA4G

Link to comment
Share on other sites

i tried adding RedPower, Industrialcraft, Buildcraft... etc into the users section and gave them a specific rank like the file you posted said but it hasn't fixed the issue. Buildcraft mining wells and quarries cannot destroy anything (i am powering them correctly). Other internet posts say that TMI quarries won't work and you must craft them properly with non TMI materials. So i spawned them in with creative but that still didn't solve the problem

Link to comment
Share on other sites

I took off CommandBook and put Essentials on my Tekkit server and it says Essentials Protect is in emergency mode. What am I doing wrong?

Try deleting those installs, and re-copy files according the install directions. Whether it's just the .zip/.jar files or if it needs additional folders as well. Don't mess with the configuration until you've got them installed and running on default settings. Once you do, start making a few small modifications at a time. The key here is take baby steps to make sure things are working, not throwing it all together and crossing your fingers.

Link to comment
Share on other sites

Try deleting those installs, and re-copy files according the install directions. Whether it's just the .zip/.jar files or if it needs additional folders as well. Don't mess with the configuration until you've got them installed and running on default settings. Once you do, start making a few small modifications at a time. The key here is take baby steps to make sure things are working, not throwing it all together and crossing your fingers.

I just followed the essentials directions. I wanted it to work before I messed with permissions.

Link to comment
Share on other sites

I just followed the essentials directions. I wanted it to work before I messed with permissions.

I actually did it the other way around ! Installed permissions, then Essentials, found out it conflicted with CommandBook, then removed CommandBook. Good luck with your trials, please do report if you can get it working and how you decide to set it up so we can keep a list for other administrators.

Link to comment
Share on other sites

I actually did it the other way around ! Installed permissions, then Essentials, found out it conflicted with CommandBook, then removed CommandBook. Good luck with your trials, please do report if you can get it working and how you decide to set it up so we can keep a list for other administrators.

I'll try your way to see if it works.

*Edit*

I followed your steps. I set up PermissionsBukkit...copying yours. Then set up Essentials. It still gives me that Emergency error.

Link to comment
Share on other sites

the quarrys problem has shown up before, you need to either edit your cfg files so that an admin is the fakeplayer in them, or add the fakeplayers listed in the BC forestry redpower and ic2 ( believe they all have fake players) to the admin list.

example pulled outta the buildcraft cfg file

general {

# Causes login and join events to be sent for the fake player. This may help some plugins, but will cause errors with others. YMMV.

blocks.fakeplayerlogin=false

# Configures the name of the fake player used when blocks.placedby=fakeplayer

blocks.fakeplayername=[buildCraft]

# Configures BLOCK_PLACE and BLOCK_BREAK events. Options are 'null' and 'fakeplayer'

blocks.placedby=fakeplayer

Link to comment
Share on other sites

I read that the Essentials Protect is in emergency mode error is because it doesn't detect the Essentials core jar file. It's all there in the plugins folder. So I don't know why it's not working. :S

*Edit*

I downloaded 2.7.1 Essentials (older version) and it worked.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...