Banning Quarries in Overworld only

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

DraloX

New Member
Jul 29, 2019
1
0
0
Hey,

Whats the best way to ban 1 Item like the Quarry in the Overworld only. I use Multiverse and i created a "Miningworld". So i dont want Quarries in the Overworld anymore.

Im using PEX and TekkitCustomizer, too.
 

pherce

New Member
Jul 29, 2019
60
0
0
Ownership ban it through customizer (this prevents crafting too) and then add the proper permission node in your pex 'miningworld' section.

Your miningworld would need - tekkitcustomizer.quarryid.damagevalue.* This would give them break, place, own, craft, etc.

If you do a worldban on it through customizer though I believe it will always remove the block, no matter the world, because it doesn't know who created the item.
 

tehstone

New Member
Jul 29, 2019
32
0
0
I would suggest the World Guard plugin. It gives you a blacklist file where you can add any block ID to be placement banned. It also gives various notification options when a player does attempt to place the item and can ignore certain perm groups.
 

pherce

New Member
Jul 29, 2019
60
0
0
I would suggest the World Guard plugin. It gives you a blacklist file where you can add any block ID to be placement banned. It also gives various notification options when a player does attempt to place the item and can ignore certain perm groups.

But WG does not support damage definers. This isn't a problem for Quarry per se since it doesn't share an ID, but if you were to block Nuclear Reactor placement (246:5), you would ban every 246 item.

WG is pretty nice for things like panels or CC if you only have them in spawn for ops. You can set it to kick on interact and you know exactly who is messing around.
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
But WG does not support damage definers. This isn't a problem for Quarry per se since it doesn't share an ID, but if you were to block Nuclear Reactor placement (246:5), you would ban every 246 item.

WG is pretty nice for things like panels or CC if you only have them in spawn for ops. You can set it to kick on interact and you know exactly who is messing around.


you can do this through GroupManager and Essentials, essentials has build permissions that allow the item data value to be used.

essentials.build.place.<id>
essentials.build.place.<id>:<data>
essentials.build.break.<id>
essentials.build.break.<id>:<data>
essentials.build.interact.<id>
essentials.build.interact.<id>:<data>
essentials.build.craft.<id>
essentials.build.craft.<id>:<data>
essentials.build.pickup.<id>
essentials.build.pickup.<id>:<data>
essentials.build.drop.<id>
essentials.build.drop.<id>:<data>
 

Diakatarnis

New Member
Jul 29, 2019
34
0
0
I would like to do the same.

I'm using essentials, but I cant work out how to only allow it in the mining age not the overworld I must be missing something somewhere :S
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
I would like to do the same.

I'm using essentials, but I cant work out how to only allow it in the mining age not the overworld I must be missing something somewhere :S


you would need to use a permissions plugin along with essentials (I use groupmanager), and then set the permissions for each world.
 
  • Like
Reactions: KnightOwl

Diakatarnis

New Member
Jul 29, 2019
34
0
0
I do have that lovely plugin, but im so confused about how to use it correctly, i cant seem to work out where / how to ban just the quarry in the overworld and nether. Also is there a way to restrict it to 32x32 and 1 per person?

Many thanks, sos for being a tad slow on this, it appears my mind will not wrap its self around the permissions commands XD
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
I do have that lovely plugin, but im so confused about how to use it correctly, i cant seem to work out where / how to ban just the quarry in the overworld and nether. Also is there a way to restrict it to 32x32 and 1 per person?

Many thanks, sos for being a tad slow on this, it appears my mind will not wrap its self around the permissions commands XD


If you read the comments in the config file for groupmanager it might help a bit (if you haven't), it explains how to do it in there. Here is the setup you would need (i think, it's been a while since I setup different permissions per world) to make Overworld/Nether share the same permissions, but other worlds use their own permissions. With this setup, all worlds other than overworld/nether will share the same permissions as the_end.

Code:
world:
  world_nether:
  - users
  - groups
  world_the_end:
  - users
    all_unamed_worlds:
    - users
    - groups

If you are using essentials antibuld, these permissions will prevent the quarry from being crafted/placed (make sure 1503 is your quarry itemid, change it to match if not). You would need to put this in the groups.yml for world

- - essentials.build.place.1503
- - essentials.build.craft.1503

Not sure about the other questions, as I've never felt the need to limit them.