Hi, I am fairly new to coding, I only know very simple things. I was wondering if anyone could link me with the exact thing I need to know to start my very own plugin. Links to threads, tutorials, books (Possibly free, but I will buy if I must!)
Anything will help. Also, put it in the order in which one must learn to reach here. Thank you all!
Solved Make my own plugin?
Discussion in 'Reign of Kings Discussion' started by [ TOG] TheBaconThief™, Jun 17, 2015.
-
1. Learn one of the supported languages: C#, JS, Lua, Python
a) There are many tutorials on the web that you can use.
2. Download a .NET decompiler; I would suggest JustDecompile http://www.telerik.com/products/decompiler.aspx
a) This is used to decompile .NET server classes to ease your modding experience.
3. Become friends with http://docs.oxidemod.org/ and the development sub forums.
a) If a hook isn't in the doc it probably doesn't exist.
4. Be resourceful as you will need to learn from other plugins to get your foot in the door. -
-
A hook is an event fired by the server; a hook can also be fired from a plugin to introduce its own functionality.
For example the hook "OnPlayerChat" is fired each time a player type in the chat; it is called before the message is added to the chat window to allow a plugin developer to change its value or cancel the event.
The most common language would have to be Lua and then C#, you'll find better support for C# though. -
-
-
Will I be able to use the languages togetherLast edited by a moderator: Jun 17, 2015 -
I have seen threads about calling C# scripts from Lua. Not sure if the other way is possible.
-
-
-
Wulf Community Admin
-
we already have level system but game dont have hook for resourcec..or if you find that hook.write that here.its nice if that can add for plugins
-
-
question isnt it possible to take plugins from say some of the developers of many bukkit plugs as long as u ask and the freely give. I have been seeing that yaml is just like json or am I on the bubba side of it.
-
Wulf Community Admin
-
k So what specifically is ROk writen in? I am not much of a coder as u already see . U know just the yaml and Notepad++ . I take it that yaml and json is the otherside of tweeking what coders make. Im new. Sorry.Old but new to this. Why do screenshots looks so bad? I have a msi 660 ti 2gb card?
Last edited by a moderator: Oct 11, 2016 -
Wulf Community Admin