Jump to content

RustPluginTemplate 1.0.4

   (0 reviews)

1 Screenshot

  • 4.3k
  • 76
  • 2.9 kB
 Share

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


HandyS11's Collection

User Feedback

1m

Downloads

Total number of downloads.

5.4k

Customers

Total customers served.

76.4k

Files Sold

Total number of files sold.

1.5m

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.