Giter VIP home page Giter VIP logo

userspecificfunctions's Introduction

UserSpecificFunctions

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.

Commands

  • /us - Sets chat properties. Requires the us.set permission to run the command and set your own chat properties, and us.setother to 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 corresponding us.remove.prefix (.suffix, .color) permission, or the us.resetall permission.
  • /permission - Allows to give or take away permissions of individual users. Requires the us.permission permission 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.

Config file

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 is 10
  • MaximumSuffixLength - Maximum number of characters in a custom suffix, default is 10
  • ProhibitedWords - List of words that are prohibited to have in custom prefixes and suffixes

Authors and contributors

@IvanBiljan - The Author

@Simon311 - Update to TShock 5.1.3, bugfixes, readme

Download

The binary is available in the repo's "Release" folder.

userspecificfunctions's People

Contributors

ivanbiljan avatar simon311 avatar

Stargazers

 avatar

Forkers

danefron

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.