orangeadam3 / terra121

A Minecraft Terrain Generating Mod for Cubic Chunks 1.12.2. attempting to generate real terrain, biomes, and features on a 1:1 scale
MIT License
280 stars 41 forks source link

Add permission node to /tpll #106

Closed Saghetti0 closed 4 years ago

Saghetti0 commented 4 years ago

Haven't been able to test this yet, but it should work according to the forge docs. Please reject if this doesn't work.

Saghetti0 commented 4 years ago

Would it be non-intuitive to require giving a player both the /tp permission and the /tpll permission?

Barteks2x commented 4 years ago

Just calling TP command won't check if player has permission. But using CommandTP permission check could work.

Anyway using Permissions API for it seems like a better solution as it allows for more specific control over it.

Saghetti0 commented 4 years ago

Just tested it using ForgeEssentials, worked like a charm. You don't need the /tp command node. Also, if you're using ForgeEssentials, you need to give both the node and also commands.tpll. That's just a quirk with FE, however.