Configuration

Configuration

NodeWhitelist has a very straight forward config file. The defaults are:

General:
  WhitelistEnabled: true
  WhitelistingWebsite: www.myserver.com
  EnableWebsiteMessages: true
NoneWhitelisted:
  Restraints:
    Interact: false
    CanTalk: false
    LoginNotice: true
  Messages:
    Interact: You are not whitelisted!
    Speak: You are not whitelisted and thus, cannot speak.
    Login: You are not whitelisted! Please visit www.myserver.com for whitelisting.
    RestraintsWaived: Your restraints were waived. You are still not whitelisted and your restraints will resume upon next login.
    RestraintsUnWaived: Your restraints have been re-applied.

Configuration Deffinitions

  • General.WhitelistEnabled
    • Whether or not to enable the plugin.
  • General.WhitelistingWebsite
    • The URL to your website *used in the next setting*
  • General.EnableWebsiteMessages
    • Whether or not to enable the showing of website messages for whitelisting.
  • NonWhitelisted.Restraints.Interact
    • Whether or not the non whitelisted player should be able to break/place blocks, and interact with mobs or pickup items.
  • NonWhitelisted.Restraints.CanTalk
    • Whether or not the non whitelisted player is allowed to speak.
  • NonWhitelisted.Restraints.LoginNotice
    • Whether or not a notice is given to a non whitelisted player upon their login.
  • NonWhitelisted.Messages.Interact
    • The message given to the player when they try to interact, if their interaction is blocked.
  • NonWhitelisted.Messages.Speak
    • The message given to the player when they try to chat, if their chatting is blocked.
  • NonWhitelisted.Messages.Login
    • The message displayed to a non whitelisted player upon their login if the "LoginNotice" is set to "true"
  • NoneWhitelisted.Messages.RestraintsWaived
    • The message showed to the non whitelisted player when you waive their restraints.
  • NoneWhitelisted.Messages.RestraintsUnWaived
    • The message showed to the non whitelisted player when you un waive their restraints.

Note the "Restraints" and "Messages". Each restraint is connected to a different messege. If the Interact restraint is set to false, that player will NOT be able to interact. If it was set to true, they would be able to. If the Interact restraint is false, and they try to interact they will be given the Interact message "You are not whitelisted!"

Also note that the "true/false" is based on weather or not they can do the preceding action. By default players can NOT interact, or talk, and are given a login notice.


Comments

Posts Quoted:
Reply
Clear All Quotes