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