Uses of Class
com.palmergames.bukkit.towny.exceptions.InvalidNameException
-
Uses of InvalidNameException in com.palmergames.bukkit.towny
Modifier and TypeMethodDescriptionvoid
Create a new town from the string name.void
TownyUniverse.newTownInternal
(String name) -
Uses of InvalidNameException in com.palmergames.bukkit.util
Modifier and TypeMethodDescriptionstatic String
NameValidation.checkAndFilterGovernmentNameOrThrow
(String name, Government gov) Check and perform regex on any town and nations namesstatic String
NameValidation.checkAndFilterName
(String name) Deprecated.0.100.1.10 use any of the other checkAndFilter methods found in this class.static String
NameValidation.checkAndFilterNationNameOrThrow
(String name) Check and perform regex on nation namesstatic String
NameValidation.checkAndFilterPlayerName
(String name) Check and perform regex on player namesstatic String
NameValidation.checkAndFilterPlotGroupNameOrThrow
(String name) Check and perform regex on plotgroup namesstatic String
NameValidation.checkAndFilterPlotNameOrThrow
(String name) Check and perform regex on plot namesstatic String
NameValidation.checkAndFilterTitlesSurnameOrThrow
(String[] words) Check and perform regex on Titles and Surnames given to residents.static String
NameValidation.checkAndFilterTownNameOrThrow
(String name) Check and perform regex on town namesstatic void
NameValidation.testForImproperNameAndThrow
(String name) Stops Names which are: empty, in the config blacklist, all underscores, containing bad symbols, using characters not in the name regex.