SimplyKits 1.0.2
dotnet add package SimplyKits --version 1.0.2
NuGet\Install-Package SimplyKits -Version 1.0.2
<PackageReference Include="SimplyKits" Version="1.0.2" />
paket add SimplyKits --version 1.0.2
#r "nuget: SimplyKits, 1.0.2"
// Install SimplyKits as a Cake Addin #addin nuget:?package=SimplyKits&version=1.0.2 // Install SimplyKits as a Cake Tool #tool nuget:?package=SimplyKits&version=1.0.2
SimplyKits
A simple way to add plugins to your Unturned server.
Features 👁️
- Configurable kits using a single yaml file.
- Customizable messages related to kits.
- A command to list the kits configured in the configuration file.
Commands 🙀
/kit
- Name: kit
- Description: Give a kit to a player.
- Aliases: k
- Usage: /kit [kitName]
- Permissions:
- SimplyKits:commands.kit
/kits
- Name: kits
- Description: Display a list of kits.
- Usage: /kits
- Permissions:
- SimplyKits:commands.kits
How to configure kits 😼
In this case i want two kits called kit1 and kit2, these kits will give some special items but we need two things to configure these kits, first, the ID of the item (you can found the items ID here) and second, the quantity. Let's see an example of a configuration.yaml file:
kits:
kit1:
item1:
id: 50
qty: 1
item2:
id: 120
qty: 5
kit2:
item1:
id: 10
qty: 1
Of course you can change the name of the kits replacing kit1 for thief, for example.
How translate the messages 😼
This plugin has three messages and can be customizable throught the translations.yaml file, these are:
- kit_given: A message when a player receive a kit.
- kit_unknown: A message when a player try to receive a inexistent kit.
- kit_list: A message when a player use /kits, for example: "The kits are:"
Thank you 😸
This is my first plugin, so there may be improvements in the future. Any stars or donations will be appreciated!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.1
- OpenMod.Unturned (>= 3.7.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.