GithubHelp home page GithubHelp logo

teamspeak-query-plugin-framework / tsqpf-plugin-welcomemessage Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 480 KB

Plugin for the Java based Teamspeak Query Plugin Framework, enabling you to send out custom welcome messages with placeholders.

Java 100.00%
welcomemessage motd plugin teamspeak tsqpf java

tsqpf-plugin-welcomemessage's Introduction

WelcomeMessage

Customize your servers welcome message with this simple plugin. It also allows you to add server variables to your welcome message, such as online users, online administrators, etc.

๐Ÿ’ก How does it work?

If a client joins your server, this plugin sends him a custom welcome message, which can be configured in the plugins config.

๐Ÿš€ Gettings started

Just download the latest release that's compatible with your TSQPF version and copy it into its plugin directory. After you've done that, either reload or restart your framework instance in order to get it loaded and initiated.

โš™๏ธ Configuration

Here's a list of all config keys, value datatypes and a description:

KEY | DATATYPE | DESCRIPTION

  • messageWelcome : [String] Defines the welcome message.
  • messageWelcomePoke : [String] Defines the poke message on client join (leave empty to disable feature).
  • messageFirstJoin : [String] Defines the message sent to client on first join (leave empty to disable feature).
  • messageFirstJoinPoke : [String] Defines the poke message sent to client on first join (leave empty to disable feature).
  • staffGroups : [Integer] Staff groups of your server (separated by comma with no whitespaces).

โš™๏ธ Message Placeholder

Here's a list of all placeholders that can be used in the welcome message:

KEY | DESCRIPTION

  • onlineUsers : Total count of online users, minus the framework.
  • onlineOtherUsers : Count of other online users, minus own client and framework.
  • totalUniqueUsers : Count of unique users in the database.
  • servergroupCount : Count of server groups.
  • channelCount : Count of channels.
  • channelgroupCount : Count of channel groups.
  • onlineStaffCount : Count of online staff members.
  • bannedClientCount : Count of banned clients.
  • lastIssuedBanDate : Date of last issues ban.
  • clientNickname : The clients nickname.

๐Ÿ“ Directory Tree

AntiAFK/
โ””โ”€โ”€ plugin.conf

๐Ÿ“œ Vortexdata Certification

This plugin is developed by VortexdataNET for the Teamspeak Query Plugin Framework. Every release is being tested for any bugs, its performance or security issues. You are free to use, modify or redistribute the plugin.

tsqpf-plugin-welcomemessage's People

Contributors

taxset avatar vortexdatanet avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

tsqpf-plugin-welcomemessage's Issues

JoinEventListener throwing exception on quick login / logout

This occurs if eg. query crawler quickly connects and disconnect from a server running this plugin. This is due to the fact that the sendPrivateMessage method can not be completed in time. The query has already disconnection when the method has been completed, rendering the client id invalid.

Add more placeholder values

%onlineOtherUsers% [Integer]: Returns the currently connected user count minus one (the user receiving the welcome message).
%totalUniqueUsers% [Integer]: Returns the total user count of the server database.
%servergroupCount% [Integer]: Returns the total count of current server groups.
%channelCount% [Integer]: Returns the current number of channels.
%channelgroupCount% [Integer]: Returns the current number of channel groups.
%onlineStaffCount% [Integer]: Returns the current count of online staff members.
%bannedPlayersCount% [Integer]: Returns the number of banned clients (only uses clients from ban list).
%lastIssuedBanDate% [String]: Returns the date and time of the last issued ban (Requires AdminTools).
%lastIssuedKickDate% [String]: Returns the date and time of the last issued kick (Requires AdminTools).
%onlineLivestreamersCount% [Integer]: Returns a count of all live streamers currently online (Requires LivestreamManager).
%currentlyStreamingLivestreamers% [Integer]: Return a count of all live streamers currently streaming (Requires LivestreamManager).

%clientNickname% [String]: Return the client's nickname.

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.