MrKwabs

Loadouts.configuration.xml

Apr 1st, 2020 (edited)
700
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.74 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ConfigurationLoadouts xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3.   <DatabaseHost>localhost</DatabaseHost> < !-- Database Host/IP -->
  4.   <DatabasePort>3306</DatabasePort> < !-- Database Port -->
  5.   <DatabaseUsername>root</DatabaseUsername> < !-- Database Username -->
  6.   <DatabasePassword>password</DatabasePassword> < !-- Database Password -->
  7.   <DatabaseName>Unturned</DatabaseName> < !-- Database Name -->
  8.   <TableName>Loadouts_Data</TableName> < !-- Custom Table Name -->
  9.   <NotifyCopyVictim>true</NotifyCopyVictim> < !-- When enabled, notifies the victim of the /copy -->
  10.   <OverwriteSlotOnSave>true</OverwriteSlotOnSave> < !-- When enabled, allows the User to overwrite their Loadout if they save one with the same name -->
  11.   <ClearInventoryOnSave>false</ClearInventoryOnSave> < !-- When enabled, clears the User's inventory when they save a Loadout -->
  12.   <ClearInventoryOnLoad>true</ClearInventoryOnLoad> < !-- When enabled, clears the User's inventory before loading a Loadout -->
  13.   <DeleteSlotOnLoad>false</DeleteSlotOnLoad> < !-- When enabled, deletes the Users saved Loadout from MySQL when they load it. -->
  14.   <DefaultSlotName>Default</DefaultSlotName> < !-- The Default Loadout Slot Name. -->
  15.   <DefaultMaxSlots>1</DefaultMaxSlots> < !-- The Default amount of Slots a User can save -->
  16.    <GlobalItemBlacklist> < !-- The following items are banned for everyone unless whitelisted below. -->
  17.     <ID>1441</ID>
  18.   </GlobalItemBlacklist>
  19.   <Slots> < !-- List of Custom Slots based on Permissions -->
  20.     <Slot> < !-- Copy from <Slot> to </Slot> to add more below -->
  21.       <DisplayName>Admin Slots</DisplayName> < !-- The Display Name of the Custom Slot, this is only used for increased readability for you -->
  22.       <Permission>CustomKits.Admin</Permission> < !-- The Permission the User needs to have these settings -->
  23.       <MaxSlots>50</MaxSlots> < !-- The Max amount of Loadout Slots the User will be able to save -->
  24.       <Priority>5</Priority> < !-- The Priority - used when a User will have multiple of these permissions (Lowest is checked first) -->
  25.       <WhitelistedItems> < !-- The following items are ignored from the GlobalItemBlacklist above. -->
  26.         <ID>1441</ID>
  27.       </WhitelistedItems>
  28.     </Slot>
  29.     <Slot>
  30.       <DisplayName>V.I.P Slots</DisplayName>
  31.       <Permission>CustomKits.VIP</Permission>
  32.       <MaxSlots>3</MaxSlots>
  33.       <Priority>3</Priority>
  34.       <WhitelistedItems />
  35.     </Slot>
  36.     <Slot>
  37.       <DisplayName>Member Slots</DisplayName>
  38.       <Permission>CustomKits.Member</Permission>
  39.       <MaxSlots>2</MaxSlots>
  40.       <Priority>4</Priority>
  41.       <WhitelistedItems />
  42.     </Slot>
  43.   </Slots>
  44. </ConfigurationCustomKits>
Add Comment
Please, Sign In to add comment