Skip to content

Instantly share code, notes, and snippets.

@rube200
Last active February 18, 2024 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rube200/b952fc281bb06b6037b39c5498663dcf to your computer and use it in GitHub Desktop.
Save rube200/b952fc281bb06b6037b39c5498663dcf to your computer and use it in GitHub Desktop.
ORProtection Settings
database:
DBType: MySql #LiteDb, MySql
#MySql - Server=127.0.0.1; Database=openmod; Port=3306; User=root; Password=password;
#LiteDb - Filename={WorkingDirectory}/database.db;Password=password;
ConnectionString: "Server=127.0.0.1; Database=openmod; Port=3306; User=root; Password=password;"
Table: "ORP_Server1"
CacheData: true #Recomended for better performance
gameplay:
# Individual, Groups, All
ProtectionType: Groups
# None, Damage, LockPick, Carjack, Tires, DamageAndLockPick, DamageAndCarjack
# LockPickAndCarjack, DamageLockPickAndCarjack, DamageAndTires
# LockPickAndTires, DamageLockPickAndTires, CarjackAndTire
# DamageCarjackAndTires, LockPickCarjackAndTires, All
VehicleProtectionType: All
ShowMessage: true
DelayBetweenMessages: 00:00:05 # 5 seconds
WaitDelay: 00:10:00 # 10 minutes, time before protection starts
MaxProtectionTime: 1.00:00:00 # 1 day
# LastPosition, ClaimFlag, Unlimited
AreaType: LastPosition
Range: 50 # 0 means unlimited
Multiplier: 4 # 0 mean not protection, higher values mean more protection
Indestructible: false
IgnoreGuids:
- 67a6ec52-e4b2-4ffd-89f7-5ceee0eb5179
- 67c76cdf-1602-4bf6-8b6e-5d14d4c617ab
CustomMultipliers:
- AssetGuid: 67a6ec52-e4b2-4ffd-89f7-5ceee0eb5179
Indestructible: false
Multiplier: 10
- AssetGuid: 67c76cdf-1602-4bf6-8b6e-5d14d4c617ab
Indestructible: true
Multiplier: 1
Debug: false
<?xml version="1.0" encoding="utf-8"?>
<ORProtectionConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DatabaseSettings>
<!--LiteDb, MySql-->
<DBType>MySql</DBType>
<!--LiteDb: Filename={WorkingDirectory}/database.db;Password=password;-->
<ConnectionString>Server=127.0.0.1; Database=openmod; Port=3306; User=root; Password=password;</ConnectionString>
<Table>ORP_Server1</Table>
<!--Recomended for better performance-->
<CacheData>true</CacheData>
</DatabaseSettings>
<GameplaySettings>
<!--Individual, Groups, All-->
<ProtectionType>Groups</ProtectionType>
<!--None, Damage, LockPick, Carjack, Tires, DamageAndLockPick, DamageAndCarjack
LockPickAndCarjack, DamageLockPickAndCarjack, DamageAndTires
LockPickAndTires, DamageLockPickAndTires, CarjackAndTire
DamageCarjackAndTires, LockPickCarjackAndTires, All-->
<VehicleProtectionType>All</VehicleProtectionType>
<ShowMessage>true</ShowMessage>
<!--LastPosition, ClaimFlag, Unlimited-->
<AreaType>LastPosition</AreaType>
<!--0 unlimited-->
<Range>50</Range>
<!--0 mean not protection, higher values mean more protection-->
<Multiplier>4</Multiplier>
<Indestructible>false</Indestructible>
<IgnoreGuids>
<guid>67a6ec52-e4b2-4ffd-89f7-5ceee0eb5179</guid>
<guid>67c76cdf-1602-4bf6-8b6e-5d14d4c617ab</guid>
</IgnoreGuids>
<CustomMultipliers>
<CustomMultiplier>
<AssetGuid>67a6ec52-e4b2-4ffd-89f7-5ceee0eb5179</AssetGuid>
<Indestructible>false</Indestructible>
<Multiplier>10</Multiplier>
</CustomMultiplier>
<CustomMultiplier>
<AssetGuid>67c76cdf-1602-4bf6-8b6e-5d14d4c617ab</AssetGuid>
<Indestructible>true</Indestructible>
<Multiplier>5</Multiplier>
</CustomMultiplier>
</CustomMultipliers>
<Debug>false</Debug>
<DelayBetweenMessagesSec>5</DelayBetweenMessagesSec>
<WaitDelaySec>600</WaitDelaySec>
<MaxProtectionTimeMins>1440</MaxProtectionTimeMins>
</GameplaySettings>
</ORProtectionConfiguration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment