Guest User

Untitled

a guest
Jan 14th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. forum:
  2. # Want to use information from a custom profile field instead of the user's forum username?
  3. multitable: false
  4. # Want to use a comma seperated list of additional groups to assign your member?
  5. use-additional-groups: false
  6. # 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?
  7. use-group-table: true
  8. # 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
  9. use-boolean-ban: false
  10. # Bung in the info on where to look for the member data
  11. usertable:
  12. # Name of the member data table
  13. name: mchell_users
  14. # Field to find the group id to match those set in the "groups" section of this file. This can be left blank if you are using the group-table
  15. group-field:
  16. # If we're not using multitable mode, then which field should we look for the member's minecraft username in?
  17. username-field: username
  18. # And if "use-additional-groups" is enabled... where is the comma seperated list of additional groups?
  19. additional-groups-field:
  20. # 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!
  21. banned-field:
  22. # If "use-additional-groups" is on, then we're going to need a way to link this user to their extra profile fields
  23. key-field: user_id
  24. # This ONLY applies if you want to use a phpBB3 style group table
  25. grouptable:
  26. name: mchell_user_group
  27. key-field: user_id
  28. group-field: group_id
  29. # Stick your database info here
  30. database:
  31. host: ''
  32. port: ''
  33. db: ''
  34. user: ''
  35. pass: ''
  36. # Which worlds on your server should Warrant affect the permissions for?
  37. worlds:
  38. - world
  39. # 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)
  40. kick-message: 'Sorry, you are not permitted to login to the server at your current rank'
  41. # What you gonna tell peeps that are banned by your forum? (Telling these guys to #"@! off may actually be a good idea lol)
  42. banned-message: 'You are banned from our forum, pls gtfo'
  43. # Tell players that they've been assigned ranks when they login, or just do it silently in the background?
  44. notify-group-on-login: true
  45. # Keep out those who aren't in any group stated below (false), or shall we let them in and assign them to the default permissions group (true)?
  46. whitelist-default: true
  47. # Stick all the mappings here for any groups you wish tp be auto-ranked
  48. # Make sure to surround the number in single quotes (''), else it may just self-destruct and noone wants that
  49. # If "whitelisted" is false, then you may ommit the rank, as there will be no need to assign a rank to disallowed players
  50. # 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
  51. default-group: Member
  52. groups:
  53. '1':
  54. rank: Guest
  55. whitelisted: true
  56. '10':
  57. rank: Member
  58. whitelisted: true
  59. '15':
  60. rank: Moderator
  61. whitelisted: true
  62. '16':
  63. rank: Administrator
  64. whitelisted: true
Add Comment
Please, Sign In to add comment