Advertisement
Guest User

Default config file

a guest
Feb 25th, 2018
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  3.   <LicenseKey>00000000-0000-0000-0000-000000000000</LicenseKey> <!-- The license key of the product from ImperialPlugins -->
  4.   <DefaultGroup>default</DefaultGroup> <!-- The ID of the default group -->
  5.   <VerboseOutput>false</VerboseOutput> <!-- If you wish to have more logging from the plugin, set this to true -->
  6.   <StorageType>ROCKET</StorageType> <!-- Changes how the plugin stores stuff (ROCKET is the better rocket module in the plugin). Possible values: ROCKET, MYSQL, EXTERNAL -->
  7.   <PermOptions>
  8.     <AdminsHaveAllPermissions>true</AdminsHaveAllPermissions> <!-- Self-explanatory, when true, people with admin will have all permissions -->
  9.     <AdminsHaveAllGroups>false</AdminsHaveAllGroups> <!-- Self-explanatory, when true, people with admin will have all groups -->
  10.     <AllowRemovingPermissions>true</AllowRemovingPermissions> <!-- Allows the dynamic removing of permissions when having more than one group with the prefix below. -->
  11.     <AllowWildcards>true</AllowWildcards> <!-- Allows wildcards -->
  12.     <AutomaticMigration>true</AutomaticMigration> <!-- Self-explanatory, when true, all permissions will be migrated from the old rocket to the plugins's systems. -->
  13.     <PlayTimeBasedMemberships>false</PlayTimeBasedMemberships> <!-- When true, temporary memberships will be based in playtime and not since assigned -->
  14.     <PlayersAlwaysInDefaultGroup>true</PlayersAlwaysInDefaultGroup> <!-- Self-explanatory, when true, all players will have the default group. -->
  15.     <TemporaryMemberships>false</TemporaryMemberships> <!-- Self-explanatory, when true, temporary memberships are enabled. -->
  16.     <PriorityOrganizedByDescending>false</PriorityOrganizedByDescending> <!-- When true, priorities will be organised by VALUE and not by RANKING, so with this true, the permission group with priority 100 will be placed first. -->
  17.     <PermissionRemovingPrefix>-</PermissionRemovingPrefix> <!-- The prefix to remove permissions dynamically -->
  18.     <Wildcard>*</Wildcard> <!-- The wildcard character -->
  19.   </PermOptions>
  20.   <DBOptions>
  21.     <GroupCache>true</GroupCache> <!-- Enables an in-memory cache that keeps the groups locally (MYSQL ONLY) -->
  22.     <SeparateThread>true</SeparateThread> <!-- Makes the queries happen on a separate thread to avoid high load on main thread (MYSQL ONLY) -->
  23.     <HybridCache>false</HybridCache> <!-- This option has not been fully integrated into the plugin yet and doesn't do anything. -->
  24.     <CacheRefreshDelayMiliseconds>60000</CacheRefreshDelayMiliseconds> <!-- The time (in milliseconds) that the plugin waits before refreshing the cache. If the MYSQL Server is not in the same machine, every 60 seconds is recommended for low bandwidth usage (MYSQL) -->
  25.   </DBOptions>
  26.   <MySQL>
  27.     <Address>localhost</Address> <!-- Self-explanatory, the address (127.0.0.1 or Google.com as examples) of the MYSQL server. -->
  28.     <Username>unturned</Username> <!-- Self-explanatory, the username for the MYSQL server. -->
  29.     <Password>password</Password> <!-- Self-explanatory, the password for the MYSQL server account. -->
  30.     <DatabaseName>unturned</DatabaseName> <!-- Self-explanatory, the name of the database for the tables to be stored. -->
  31.     <TableNameGroups>groups</TableNameGroups> <!-- Self-explanatory, the name of the table for each of the groups. -->
  32.     <TableNamePermissions>permissions</TableNamePermissions> <!-- Self-explanatory, the name of the table for the permissions of each group. -->
  33.     <TableNamePlayers>members</TableNamePlayers> <!-- Self-explanatory, the name of the table for members of a group. -->
  34.     <TableNameTemporaryMemberships>temporarymembers</TableNameTemporaryMemberships> <!-- Self-explanatory, the name of the table for temporary memberships. -->
  35.     <Port>3306</Port> <!-- Self-explanatory, the port of the MYSQL server. -->
  36.   </MySQL>
  37. </Configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement