Protect newbies from getting raided too fast!
Plugin features:
- Flexible PvE protection settings.
- Time based PvE protection for new players.
- Delay PvE protection start after server wipe.
- Allow players to disable PvE protection at any time.
- Prevent PvE protection abuse by PvP players.
- Ability to ignore structures like Sleeping Bags.
- Ability to protect only structures.
- Anti griefing feature set.
- MySQL database support for clusters.
Commands:
/pvestatus (Chat) - Shows your tribes (or character) PvE mode status, time left and if you're already in PvP mode./pvestatus self (Chat) - Shows PvE status of your own character.
/checkpve (Chat) - Checks PvE mode status on structure you're looking at.
/pveoff confirm (Chat) - Disable PvE mode.
newbieprotection.setpvetarget time in seconds (Console) - Set PvE timer for structure owner you're looking at.
newbieprotection.getpvetarget (Console) - Get PvE Time left for structure you're looking at.
newbieprotection.setpveplayer eos time in seconds (Console & RCON) - Set PvE timer for player by EOS Id.
newbieprotection.setpvetribe tribeid time in seconds (Console & RCON) - Set PvE timer for tribe owner and tribe by Tribe Id.
NewbieProtection.Reload (Console & RCON) - Reload plugin configuration.
JSON:
{
// Definitions:
// PvE Players - users protected by the NewbieProtection
// PvP Players - those who never had protection or their protection had expired
// Timestamps could be made at https://unixtimestamp.com/
// Radius measure - 1 foundation = 300 pts
"LicenseKey": "YOUR_LICENSE_KEY", // Your License Key
"Mysql": {
"MysqlHost": "localhost", // MySQL Credentials
"MysqlUser": "plugindb", // MySQL User
"MysqlPass": "123", // MySQL Password
"MysqlDB": "ark_database", // MySQL Database
"MysqlTable_Tribe": "np_tribes", // MySQL Tribes Table (Stores Tribe PvE Timers)
"MysqlTable_Players": "np_players", // MySQL Players Table (Stores Player PvE Timers)
"MysqlPort": 3306 // MySQL Port
},
"SurvivalSettings": { // Survival Settings (Boosts)
"DisableCryoCooldownForPvE": true, // Disables CryoCooldown for PvE players/tribes
"Rates": { // Boost Rates for PvE players/tribes
"Harvesting": 2.0, // Harvesting
"XP": 2.0, // Experience
"Mating": 0.5 // Mating Cooldown (seconds * multiplier) in example -50%
}
},
"TurretSettings": { // Turret Settings
"PvPtoPvETurretDamageMultiplier": 0.5, // PvP Turret damage to PvE Player (-50% difference)
"PvEtoPvPTurretDamageMultiplier": 1.0, // PvE Turret damage to PvP Player (0% difference)
"ConsumePvPAmmoWhenAttackingPvE": false, // Defines whether PvP turrets consume ammo if they attack PvE Players
"ConsumePvEAmmoWhenAttackingPvP": false // Defines whether PvE turrets consume ammo if they attack PvP Players
},
"AntiGriefing": { // Anti Griefing Settings
"PvE": { // These apply only for PvE players
"BlockUsingItems": [ // Blocks using items for PvE players
"PrimalItem_PoisonGrenade", // Poison/Tranq Grenade
"PrimalItem_SmokeGrenade", // Smoke Grenade (due to Lost Colony Perks)
"PrimalItem_GravityGrenade" // Gravity Grenade
],
"BlockReceivingBuffs": [ // Blocks receiving buffs for PvE players
"Buff_Base_Disease", // Swamp Fever
"Buff_Leech_Diseased", // Swamp Fever (transition)
"Buff_Base_SuperDisease", // Mega Rabies
"Buff_PoisonGrenade", // Poison Grenade Tranq Debuff
"Buff_BrainSlug" // Noglin Buff (for Gen2)
],
// Next Settings Apply from PvE to PvP players
"BlockPvEDamageStructures": true, // Block PvE players from damaging any structures
"BlockCarryingCharacters": true, // Block PvE from carrying any characters
"BlockDraggingCharacters": true, // Blocks PvE from dragging any characters
"BlockLootingCharacters": true, // Blocks PvE from looting any characters
"BlockStructureInteractions": true, // Blocks PvE from interacting with structures of PvP
"BlockGrappling": true, // Blocks PvE from grappling PvP players
"BlockMaewingSteal": true // Block PvE from stealing from PvP with Maewing
},
"PvP": {
"BlockWildDinoDamage": true, // Blocks Wild Dinos from damaging PvE players (they are considered PvPvE actors)
"BlockCorruptedDinoDamage": true, // Blocks Corrupted Dinos from damaging PvE players
// Next Settings Apply from PvP to PvE players
"BlockPlacingC4NearProtected": true, // Blocks placing C4 near PvE players
"BlockUsingC4NearProtected": true, // Blocks using C4 near PvE players
"BlockCarryingCharacters": true, // Blocks carrying PvE characters
"BlockDraggingCharacters": true, // Blocks dragging PvE characters
"BlockLootingCharacters": true, // Blocks looting PvE characters
"BlockStructureInteractions": true, // Blocks PvE structure interactions
"BlockGrappling": true, // Blocks grappling PvE players
"BlockMaewingSteal": true // Blocks stealing PvE dinos
}
},
"TribeSettings": { // Tribe Settings
"PreventPvPJoiningPvETribe": true, // Prevents PvP players from joining PvE tribes
"PreventPvEJoiningPvPTribe": true // Prevents PvE players from joining PvP tribes
},
"PvEModeSettings": { // Global PvE Mode Settings
"EnableFullPvE": false, // Enables Full PvE on map
"UseStartUnixTimestamp": true, // Use Unix Timestamp to mark start (instead of in-game timer)
"StartTimestamp": 1738443600, // Start Timestamp (get new one at https://unixtimestamp.com/
"PvETimerInMinutes": 4320, // PvE Timer in MINUTES
"DelayPvEAfterStartInMinutes": 1, // Delay PvE after start or unix timestamp
"IgnoreAdmin": false, // Ignore Admins in specific PvPvE actions
"C4PlacementRange": 1500, // C4 Placement Range Block (5 foundations radius)
"ProtectOnlyStructures": false, // Protect Only Structures (Creatures and Players can be damaged)
"ProtectRafts": true, // Protect Rafts when above is true
"Rafts": [ // Rafts Array
"Blueprint'/Game/PrimalEarth/Items/Raft/PrimalItemRaft.PrimalItemRaft'", // Wooden Raft
"Blueprint'/Game/PrimalEarth/Items/Raft/PrimalItemMotorboat.PrimalItemMotorboat'" // Motorboat
],
"UseIgnoredStructures": true, // Use Ignored Structures (anyone can damage)
"IgnoredStructures": [
"Blueprint'/Game/PrimalEarth/Structures/SleepingBag.SleepingBag'" // Sleeping Bag
],
"GrantProtectionOnNewCharacter": true, // Grant protection only to new characters (otherwise use commands)
"ProtectNearStructuresOnly": false, // Protect players only near their structures
"ProtectNearClass": "", // If class is filled and above setting is true, protects only in radius of set blueprint
"UseCountBasedProtection": true, // Use count based structure protection (if there is less means no protection)
"StructuresRequiredToProtect": 15, // Structure count required to protect player
"StructuresProtectionRadiusCheck": 30000 // 100 foundations radius
},
"PvPZones": { // Zones where PvP rules are always applied
"0 0 0 0 0": { // CCC coordinates
"Map": "TheIsland", // Map Name
"Radius": 3000 // Radius in Unreal Units (10 foundations)
}
},
"PvEZones": { // Zones where PvE rules are always applied
"0 0 0 0 0": {
"Map": "Ragnarok",
"Radius": 3000
}
},
"Commands": {
"PvEStatus": { // Display PvE Status of a tribe/player
"Command": "/pvestatus", // Command Name
"SelfArgument": "self", // Argument to check protection only for self (not for a tribe)
"Messages": {
"PvEDelay": {
"Message": "PvE mode activates in {}.",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 75, 0 ]
},
"SelfPvETimeLeft": {
"Message": "You are in PvE mode! You have {} left until PvP.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 0, 255, 0 ]
},
"SelfAlreadyInPvP": {
"Message": "You are in PvP mode!",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 75, 0 ]
},
"TribePvETimeLeft": {
"Message": "Your tribe is in PvE mode! You have {} left until PvP.",
"DisplayTime": 10.0,
"TextSize": 1.5,
"Color": [ 0, 255, 0 ]
},
"TribeAlreadyInPvP": {
"Message": "Your tribe is in PvP mode!",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 75, 0 ]
}
}
},
"PvECheck": { // Display PvE Status of targeting tribe/player
"Command": "/checkpve", // Command Name
"PvECheckShowTime": false, // Show Time, otherwise shows only True/False
"Messages": {
"CheckPvETargetIsPvP": {
"Message": "Target tribe is in PvP mode!",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 75, 0 ]
},
"CheckPvETargetIsPvE": {
"Message": "Target tribe is in PvE mode!{}",
"TimeFormat": "\nThey have {} left until PvP.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 0, 255, 0 ]
}
}
},
"PvEDisable": { // Command to forcefully disable PvE protection
"Command": "/pveoff", // Command Name
"ConfirmArgument": "confirm", // Argument to Confirm
"OnlyOwnerCanDisablePvE": true, // Only Owner is able to disable PvE protection
"RequireConfirmationToDisablePvE": true, // Require confirmation, if false won't require any
"Messages": {
"OnlyOwnerCanDisablePvE": {
"Message": "PvE can only be disabled by Tribe Owner.",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 0, 0 ]
},
"NotInPvE": {
"Message": "You don't have active PvE status.",
"DisplayTime": 10.0,
"TextSize": 1.8,
"Color": [ 255, 255, 0]
},
"ConfirmPvEDisable": {
"Message": "You must write \"{}\" to disable PvE mode!",
"DisplayTime": 10.0,
"TextSize": 1.6,
"Color": [ 255, 255, 0 ]
},
"PvEDisable": {
"Message": "Your PvE is disabled, GL HF!",
"DisplayTime": 10.0,
"TextSize": 2.0,
"Color": [ 255, 75, 0 ]
}
}
}
},
"Messages": {
"Seconds": "{} seconds",
"Minute": "{} minutes",
"Hour": "{} hours",
"HrMinute": "{} hours {} minutes",
"TranslationsFile": "ArkApi/Plugins/NewbieProtection/messages.en.json" // Translations File
}
}
