/TShock_AutoTeam

TShock plugin that will automatically join a player to their previous team (if any) on connect.

Primary LanguageC#MIT LicenseMIT

Primary repository on GitHub.

TShock_AutoTeam

License Forks Stars Watchers

TShock_AutoTeam is a plugin for TShock that will automatically join a player to their previous team (if any) on connect.

The information about the player's team is stored in TShock's database and is based on their character's name and the UUID assigned to them. As long as those match and the player was on a team previously, they will be joined to that team again when they connect.

Prerequisites

  • TShock v5.1.3 (There is no guarantee that this plugin will work with any other version of TShock)
  • .NET 6 runtime (needed by TShock itself as well)

Installation

Simply place TShock_AutoTeam.dll into TShock's ServerPlugins directory. It should load when you start the server and use TShock's database, so no configuration is needed.

Building

(You should only need to do this if you have forked the repository and are making changes.)

TShock_AutoTeam uses .NET 6, so you will need a minimum of Visual Studio 2022 to build the plugin.

Contact

If you have any questions, comments or concerns about TShock_AutoTeam:

License

TShock_AutoTeam is licensed as follows:

The MIT License (MIT)

Copyright (c) 2022 Naram Qashat

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.