Unturned RocketMod Plugini Making Lesson-1

GhostWins

Katılımcı Üye
29 Şub 2020
538
575
Hello Dear THT Today we will make RocketMod plugin with you.

What is RocketMod?


If we are going to make a plugin on RocketMod, we first need to learn what RocketMod is.
fr34kyn01535 and developed by Trojaner (Turkish), then your game producer Nelson
continued to be developed by. RocketMod is written in C # with the Rocket framework.




Let's Create a Project
I use Rider as the code editor.
unknown.png


You need to create a project on .Net FrameWork v4.8.

Let's add the library
unknown.png

unknown.png

Right click on this part, then click Add Referance.
unknown.png

unknown.png

You will discard the .dll files I provided in this link.
Next, we move on to the coding part.

Printing Text to the Server Console.
The using we will use
Kod:
using Rocket.Core.Plugins

unknown.png


The purpose of this code is to send a RocketMod to the server.
It tells you that it has an add-on.

unknown.png


The purpose of this code is

Kod:
        protected override **** Load()
        {
            Logger.Log("test");
            Console.Write("test");
        }

What to do when the plugin is installed. According to what we told the server, the console prints 2 tests.
Kod:
Logger.log

and

Kod:
Console.Write

it works pretty much the same

Do Not Send A Message When The Player Is On The Server.
unknown.png

The purpose of this code is to determine that the player is connected to the server.
unknown.png

The purpose of this code is to say what the Event will do. We have written "Welcome to the server" in the chat of the player. If there

Kod:
UnturnedChat.Say("Welcome to the server.");

If we wrote like that, it would send a message to the server, not the player.

I made the Unturned RocketMod Plugini from scratch and showed it for you. Have a nice day.
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.