Sueta

RegionEnter

1.0

Send a title and/or add permissions when players enter a specific region

·Plugin

RegionEnter - Perfect Towny/Skyblock/Factions/Prison Plugin Skript
Edit specific WorldGuard regions to add permissions & to send a title message to players when they enter the region for the first time!

Features:

  • Create in-game shops using diamonds as the currency
  • Backpack feature to store any items
  • Restrict shop to certain regions
  • Safety & protection from player's trying to steal/break other player's chests

Commands:

  • /rgp (view, add, remove, or list all permissions in the region)
  • /rgt (view, set, or reset the welcome title for the region)

Permissions:

  • region.admin - Set-up regions with granting specific permissions & sending specific title messages to players
  • region.staff - View the permissions & title messages when entering the region

Default players will be granted the permission & see the title message when they enter regions!

NOTE: This script is set-up to work on Ultra Permissions

If you are not using Ultra Permissions, make sure to change the format of the commands that run in the RegionEnter.sk file! (This change will be at the 2nd to last line of the script!)

EX:
upload_2020-7-9_16-4-21.png

TO MAKE THIS SCRIPT RUN WITH OTHER PERMISSION PLUGINS, REPLACE THE BLUE WITH THE TEXT BELOW!

PermissionsEX:
execute console command "/pex user %event-player% add %loop-value%"

GroupManager:
execute console command "/manuaddp %event-player% %loop-value%"

LuckPerms:
execute console command "/lp user %event-player% permission set %loop-value% true"

Setup:
NOTE: This skript requires WorldGuard for the region features!

  1. Download RegionEnter.sk file
  2. Upload RegionEnter.sk file into Server/Plugins/Skript/Scripts directory
  3. Run /sk reload RegionEnter
  4. Configure the regions with /rgp and /rgt to however you want!

Similar projects

Plugin →