Jump to content

RustPluginTemplate 1.0.4

   (0 reviews)

1 Screenshot

About RustPluginTemplate

📑 Features

  • Be a template for your own plugin
  • Store the last connection time of a player
  • Store the number of death of a player

 

🔑 Permissions

  • myplugin.admin - Allows player to use the /myplugin command

 

📝 Commands

  • myplugin help - Displays some help

 

⚙️ Configuration

Default configuration:

{
  "Default Chat Avatar (steamId)": 0
}

 

🏳️ Localization

Default English localization:

{
  "PluginMissing": "The plugin \"SomePlugin\" was not found. Check on UMod: https://umod.org/plugins/someplugin",
  "NoPermission": "You are not allowed to run this command!",
  "HelpMessage": "Some useful help!",
  "UnknownCommand": "Unknown command!"
}

 

🪝 Hooks

DateTime? GetLastConnectionTime(ulong userId)
// Return the last connection time (DateTime?) of a player or null if the player is not found

int? GetNumberOfDeath(ulong userId)
// Return the number (int?) of death of a player or null if the player is not found

 

🖼️ Credits

  • Like 1

HandyS11's Collection

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.