- 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.
You need to create a project on .Net FrameWork v4.8.
Let's add the library
Right click on this part, then click Add Referance.
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
The purpose of this code is to send a RocketMod to the server.
It tells you that it has an add-on.
The purpose of this code is
What to do when the plugin is installed. According to what we told the server, the console prints 2 tests.
and
it works pretty much the same
Do Not Send A Message When The Player Is On The Server.
The purpose of this code is to determine that the player is connected to the server.
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
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.
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.
You need to create a project on .Net FrameWork v4.8.
Let's add the library
Right click on this part, then click Add Referance.
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
The purpose of this code is to send a RocketMod to the server.
It tells you that it has an add-on.
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.
The purpose of this code is to determine that the player is connected to the server.
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.