Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forum:
- # Want to use information from a custom profile field instead of the user's forum username?
- multitable: true
- # Want to use a comma seperated list of additional groups to assign your member?
- use-additional-groups: true
- # If we're using phpBB3 or a forum system like it, then it's a pain in the arse to find a user's group! Are we using phpBB3?
- use-group-table: false
- # If you'd like, Warrant can look at if the member's "banned-field" is true or false and keep 'em out if it's true
- use-boolean-ban: true
- # Bung in the info on where to look for the member data
- usertable:
- # Name of the member data table
- name: xf_user
- # Field to find the group id to match those set in the "groups" section of this file
- group-field: user_group_id
- # If we're not using multitable mode, then which field should we look for the member's minecraft username in?
- username-field: field_value
- # And if "use-additional-groups" is enabled... where is the comma seperated list of additional groups?
- additional-groups-field: secondary_group_ids
- # Has a player been banned? If "use-boolean-ban" is true, this field will be used to determine if the user can come in or not. OVERRIDES WHITELIST!
- banned-field: is_banned
- # If "use-additional-groups" is on, then we're going to need a way to link this user to their extra profile fields
- key-field: user_id
- # This part ONLY counts if you've used 'multitable'. Make sure to match the key-fields up!
- profiletable:
- # Name of the custom profile fields table
- name: xf_user_field_value
- # If we're going to match up the custom fields to the user's member data, then we're going to need this to match the "key-field" in the other table for each member
- key-field: user_id
- # Since we're in multitable mode, we can have a look in this table for their minecraft name instead. Clever isn't it?
- minecraft-name-field: field_value
- # This ONLY applies if you want to use a phpBB3 style group table
- grouptable:
- name: xf_user_group_relation
- key-field: user_id
- group-field: user_group_id
- # Stick your database info here
- database:
- host: '***.***.***.***'
- port: '****'
- db: '********'
- user: '*******'
- pass: '******'
- # Which worlds on your server should Warrant affect the permissions for?
- worlds:
- - world
- - world_nether
- - world_the_end
- - Creative
- # What you gonna tell peeps that aren't whitelisted? (PS, telling them to go and register on the forum would be a good idea. Telling them to #"@! off, would not)
- kick-message: 'Sorry, you are not permitted to login to the server at your current rank'
- # What you gonna tell peeps that are banned by your forum? (Telling these guys to #"@! off may actually be a good idea lol)
- banned-message: 'You are Banned from Theocraft.org'
- # Tell players that they've been assigned ranks when they login, or just do it silently in the background?
- notify-group-on-login: true
- # Keep out those who aren't in any group stated below (false), or shall we let them in and assign them to their default permissions group (true)?
- whitelist-default: true
- # Stick all the mappings here for any groups you wish tp be auto-ranked
- # Make sure to surround the number in single quotes (''), else it may just self-destruct and noone wants that
- # If "whitelisted" is false, then you may ommit the rank, as there will be no need to assign a rank to disallowed players
- # You must give a default group that can be assigned to those players that have been demoted from a higher rank to prevent them from keeping permissions they no longer have access to
- default-group: default
- groups:
- # Here, normal registered members can go ahead and just join in as normal members
- # Admins are instantly granted all there rights as found in the Permissions configuration
- '2':
- rank: Registered
- whitelisted: true
- '3':
- rank: Admin
- whitelisted: true
- '4':
- rank: Mod
- whitelisted: true
- '5':
- rank: SMod
- whitelisted: true
- '6':
- rank: Vip
- whitelisted: true
- '7':
- rank: VIPPlus
- whitelisted: true
- '10':
- rank: VIPPlusPLus
- whitelisted: true
- '12':
- rank: Helper
- whitelisted: true
- #Let's say this group is banned for example. We can forget about the rank because they don't deserve one :)
Add Comment
Please, Sign In to add comment