¡Únete al servidor de Discord Pelayori's Development Suite!
Echa un vistazo a la comunidad Pelayori's Development Suite en Discord. Pasa el rato con 1075 miembros y disfruta de chat de voz y texto gratis.
SafeZones
Source: Click Here
Features:
- Prevent PVP in certain area's
- Prevent Building in certain area's
- Prevent Structure damage in certain area's
- Notifications on Entering and Leaving SafeZone area's
- Ability to restrict players from joining/leaving area
- Ability to give items in SafeZone's
- Change spawn point
- Configuration reloading
- Supports Permissions Plugin
- Visual bubble to mark safe zones
- Override map spawn points to your own ones
- Can enable PvP in certain zones even in PvE servers!
- SZGiveItems <ZoneName> - Gives items from config to all players in this zone.
- SZEnterSettings <ZoneName> <PreventEntering> <PreventLeaving> - Changes safezone enter settings. PreventEntering and PreventLeaving can be either 1 or 0.
- SZReloadConfig - Reloads config.json.
- SZCreateZone <ZoneName> - Creates a zone in the player's position and adds it to config (only name and position, all other options are false by default)
- SZShowSpawnPoints - It will show the name of the spawn points for getting correct config values for the override spawn feature
- SZGiveItems <ZoneName> - Gives items from config to all players in this zone.
- SZReloadConfig - Reloads config.json.
- SZShowSpawnPoints - It will show the name of the spawn points for getting correct config values for the override spawn feature
ShowDebug physics
or ccc
(it will copy your current coords to clipboard)Config:
Default config contains 2 zones as an example. You can create as many as you want.
JSON:
{
"Name":"Zone1", // Safe zone name
"Position":[ // Safe zone location
-111820,
233874,
-14259.6
],
"ForMap": "TheCenter" // Map name where the zone will be created, if empty or removed this option it will be spawned on all maps
"Radius":1800, // Safe zone size
"PreventPVP":true,
"PreventStructureDamage":true,
"PreventBuilding":true,
"KillWildDinos":true, // Kills all wild dinos in safe zone
"PreventLeaving":false, // Prevents players from leaving safe zone
"PreventEntering":false, // Prevents players from entering safe zone
"EnableEvents":true, // Options like PreventLeaving, PreventEntering, Notification require this to be enabled
"ScreenNotifications":true, // Enables on-screen messages
"ChatNotifications":true, // Enables chat messages
"GiveDinosInCryopod": true, // If true, the dinos given will be in a cryopod
"ShowBubble": true, // If true, a visual bubble will be spawned at zone, showing its radius
"BubbleColor": [ 255, 0, 0 ], // RGB color of the visual bubble
"SuccessNotificationColor":[
0,
1,
0,
1
],
"FailNotificationColor":[
1,
0,
0,
1
],
"Messages":[
"You have entered {0}",
"You have left {0}",
"This is a Community trade center you can not build here",
"You are not allowed to enter",
"You are not allowed to leave"
],
"ItemsConfig":{ // Items that player will receive if SZGiveItems command was used
"Items":[
{
"Amount":1,
"Quality":0,
"ForceBlueprint":false,
"Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
}
],
"Dinos":[
{
"Level":10,
"Blueprint":"Blueprint'/Game/PrimalEarth/Dinos/Carno/Carno_Character_BP.Carno_Character_BP'",
"SaddleBlueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle' "
}
]
},
"OverrideSpawnPoint": { // Chooses a random spawn point on given map and spawn zone name
"TheCenter": {
"Lava Island (Hard)": [
[ -44742, -111102, -12645 ],
[ -57239, -157787, -13490 ]
]
}
}
Permissions:
- SafeZones.<Name> - Permissions to enter in the specific zone (if "PreventEntering" is enabled). Example:
SafeZones.Zone1
.
- Old resource ID
- 10