Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1. #| |---\ | | | | | ----- |---- | | /---\ -----
  2.  
  3. #| | | | | | | | | | | | | |
  4.  
  5. #| |---/ | | |---| | | |---- | | \---\ |
  6.  
  7. #| | | /\ | | | | | | | | | |
  8.  
  9. #| | |/ \| | | | | |---- |---- | \---/ |
  10.  
  11. #Plugin made by davidcubesvk.
  12.  
  13. #
  14.  
  15. #Updates:
  16.  
  17. updates:
  18.  
  19. #Enable checking for updates:
  20.  
  21. check: true
  22.  
  23. #Messages, {latest_version} for latest released version, {current_version} for currently running plugin version:
  24.  
  25. messages:
  26.  
  27. #If there is new update available:
  28.  
  29. update: "&7[&bIPWhiteList&7] ► New update of &bIPWhiteList plugin &7has been released (&b{latest_version}&7). You are using &b{current_version}&7."
  30.  
  31. #If using latest version:
  32.  
  33. latest: "&7[&bIPWhiteList&7] ► You are using latest version of &bIPWhiteList plugin &7(&b{current_version}&7)."
  34.  
  35. #Connection with extension IPWhiteListBukkit:
  36.  
  37. connect:
  38.  
  39. #Type of the connection (YML - for connecting through files as it's been till now, SOCKET - using sockets):
  40.  
  41. type: SOCKET
  42.  
  43. #Socket port (if type is SOCKET):
  44.  
  45. socketPort: 1154
  46.  
  47. #Setup mode (toggleable using /ipwl setup):
  48.  
  49. #(set this to false when you set up whitelisted IPs, to make them working. If true, plugin ignores whitelisted IPs)
  50.  
  51. setup: true
  52.  
  53. #WhiteListed IPs:
  54.  
  55. #INFO: 1. To enable all hostnames, insert *. prefix before the whitelisted IP, e.g. *.yourserver.com will allow players connecting with
  56.  
  57. # abc.yourserver.com, xyz.yourserver.com..., (useful for servers with AntiDDoS service).
  58.  
  59. # 2. To apply whitelisted IP without hostnames, insert only the IP without any prefix, e.g. yourserver.com will allow only players
  60.  
  61. # connecting with yourserver.com.
  62.  
  63. # 3. If your server has dynamic IP, use {ip} placeholder as the server's IP (useful for dynamic IP servers).
  64.  
  65. # 4. To allow not case-sensitive hostname comparing for the current IP, insert "[NOT_CASE_SENSITIVE]" or "[CASE_SENSITIVE]"
  66.  
  67. # (for case-sensitive comparing) right before the IP as shown in example whitelisted IPs list. If not inserted, the default
  68.  
  69. # setting is case-sensitive.
  70.  
  71. #NOTE: You don't need to write ports there. IPWhiteList will automatically obtain port where is BungeeCord server hosted on.
  72.  
  73. # However, if you write port there, BungeeCord port will be overridden by specified port.
  74.  
  75. whitelisted:
  76.  
  77. - 'mc.simplygods.ro'
  78.  
  79. #Website for obtaining the {ip} placeholder (any website with only one line displayed - your IP):
  80.  
  81. ipWebsite: "https://checkip.amazonaws.com/"
  82.  
  83. #If IP that player tried to connect to the server with is not corresponding with any of whitelisted IPs, disconnect with message:
  84.  
  85. #(use \n for new line)
  86.  
  87. disconnect: "&7[&bIPWhiteList&7] &cPlease connect with IP: yourserver.com!"
  88.  
  89. #Command messages:
  90.  
  91. command:
  92.  
  93. #If player has not permission:
  94.  
  95. noPermission: "&7[&bIPWhiteList&7] ► You do not have permission."
  96.  
  97. #If sender used invalid format of command:
  98.  
  99. invalidFormat: "&7[&bIPWhiteList&7] ► Invalid format! Please use &b/ipwl help &7to display list of commands."
  100.  
  101. #If new IP is being added to whitelisted (/ipwl add <ip>):
  102.  
  103. #Placeholders: {ip} - IP to be added
  104.  
  105. add:
  106.  
  107. #If successfully added:
  108.  
  109. added: "&7[&bIPWhiteList&7] ► New IP &b{ip} &7added to whitelist!"
  110.  
  111. #If IP already exists:
  112.  
  113. exists: "&7[&bIPWhiteList&7] ► IP &b{ip} &7already exists."
  114.  
  115. #If IP is being removed from whitelisted (/ipwl remove <ip>):
  116.  
  117. #Placeholders: {ip} - IP to be removed:
  118.  
  119. remove:
  120.  
  121. #If successfully removed:
  122.  
  123. removed: "&7[&bIPWhiteList&7] ► IP &b{ip} &7has been removed from whitelist!"
  124.  
  125. #If IP is not in whitelisted IPs:
  126.  
  127. notFound: "&7[&bIPWhiteList&7] ► IP &b{ip} &7not found."
  128.  
  129. #If all whitelisted IPs are being listed (/ipwl list <page>):
  130.  
  131. #Placeholders: {total} - amount of IPs
  132.  
  133. # {page} - page to be displayed
  134.  
  135. # {pages} - pages available
  136.  
  137. list:
  138.  
  139. #How many IPs to be displayed per page:
  140.  
  141. perPage: 20
  142.  
  143. #Header of the displaying:
  144.  
  145. header: "&7[&bIPWhiteList&7] ► &7Total IPs: &b{total} &7(page {page}/{pages})."
  146.  
  147. #IP display line:
  148.  
  149. #Placeholders: {ip} - whitelisted IP
  150.  
  151. line: "&7[&bIPWhiteList&7] ► &7- &b{ip}"
  152.  
  153. #Footer of displaying:
  154.  
  155. footer: ""
  156.  
  157. #When sender specified not existing page:
  158.  
  159. pageNotFound: "&7[&bIPWhiteList&7] ► &7Page &b{page} &7not found. There are &b{pages} &7pages available."
  160.  
  161. #If plugin configuration is being reloaded (/ipwl reload):
  162.  
  163. reload: "&7[&bIPWhiteList&7] ► Plugin successfully reloaded! Please note that &bconnect.type &7was not reloaded since it can cause internal errors."
  164.  
  165. #If the setup mode is being toggled (/ipwl setup):
  166.  
  167. setup:
  168.  
  169. #If setup mode has been toggled on:
  170.  
  171. true: "&7[&bIPWhiteList&7] ► Setup mode toggled on!"
  172.  
  173. #If setup mode has been toggled off:
  174.  
  175. false: "&7[&bIPWhiteList&7] ► Setup mode toggled off!"
  176.  
  177. #Help page (/ipwl help):
  178.  
  179. help:
  180.  
  181. - "&7[&bIPWhiteList&7] &b&lHelp page &7- plugin by &bdavidcubesvk"
  182.  
  183. - "&b/ipwl add <ip> &7- adds IP to whitelist"
  184.  
  185. - "&b/ipwl remove <ip> &7- removes IP from whitelist"
  186.  
  187. - "&b/ipwl list <page> &7- lists whitelisted IPs"
  188.  
  189. - "&b/ipwl reload &7- reloads plugin"
  190.  
  191. - "&b/ipwl setup &7- toggles setup mode"
  192.  
  193. - "&b/ipwl help&7- displays this help page"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement