UserSpecificFunctions is the TShock plugin that allows setting custom chat prefixes, suffixes and color, as well as custom TShock permissions for individual users, as opposed to groups. Players need to have an account for this to work.
-
/us- Sets chat properties. Requires theus.setpermission to run the command and set your own chat properties, andus.setotherto set someone else's./us prefix [username] [prefix]- Sets the user's chat prefix/us suffix [username] [suffix]- Sets the user's chat suffix/us color [username] [rrr,ggg,bbb]- Sets the user's chat color/us read [username]- Prints out the user's custom chat properties/us remove [username] [prefix/suffix/color/all]- Removes the custom chat properties of the user, requires either the correspondingus.remove.prefix(.suffix,.color) permission, or theus.resetallpermission.
-
/permission- Allows to give or take away permissions of individual users. Requires theus.permissionpermission to run./permission add [username] [permission1 permission2]- Give permissions to the user. Use!before the permission to take away a permission granted to the user by their group, like so!tshock.tp.spawn/permission remove [username] [permission1 permission2]- Remove custom permissions from the user./permission list [username]- Lists the user's custom permissions.
-
/reload- The TShock command to reload the config file and other things. The plugin should reload its config settings and database as well.
The config file is named userspecificfunctions.json and is located in the default tshock folder and uses JSON formatting.
Config settings:
MaximumPrefixLength- Maximum number of characters in a custom prefix, default is10MaximumSuffixLength- Maximum number of characters in a custom suffix, default is10ProhibitedWords- List of words that are prohibited to have in custom prefixes and suffixes
@IvanBiljan - The Author
@Simon311 - Update to TShock 5.1.3, bugfixes, readme
The binary is available in the repo's "Release" folder.