/
Updates
/
rust-template
Обзор
Документация
Войти
/
Updates
/
rust-template
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
plugins/HelloWorld/HelloWorld.cs
18 строк
536 B
lenta228
I created a separate folder with plugins, added 3 plugins, and added descriptions to each plugin.
20 фев 2025, 14:26
20 фев 2025, 14:26
6d9cada
Код
Авторство
О чём код?
namespace Oxide.Plugins { [Info("HelloWorld", "PublicRust", "1.0.0")] [Description("Simple Hello World plugin for Rust")] public class HelloWorld : RustPlugin { private void Init() { Puts("Hello, Rust World! Plugin successfully loaded."); } [ChatCommand("hello")] private void HelloCommand(BasePlayer player, string command, string[] args) { player.ChatMessage("Hello, " + player.displayName + "! Welcome to this Rust server."); } } }