harrymcb Posted May 28, 2017 Share Posted May 28, 2017 I started using/making mods, but i don't know how to tell if a mod works on a server only or server and client or client only. for example, i made a simple modification to script/systems/valubalesdetector.lua would that have any effect if i play multi-player? or would it change something if i made my own server? my main experience with mods is Minecraft. Link to comment Share on other sites More sharing options...
Aki Posted May 29, 2017 Share Posted May 29, 2017 What you can look for are keywords and server/client-only objects (e.g. GUI Elements for Client, onServer() or onClient() statements, updateClient(), updateServer(), invoking functions on client/server, using server-only methods on common objects and so on). Check API documentation to find those. Another thing is to check what script is attached to: Entity, Player, Upgrade, command script etc. Actually I would risk saying that most of the scripts you will find are server-side, but you really need to watch for invoking and GUI/display related stuff (so, it's not actually most of them, kek). Spend some time with docs and read some scripts you should get it in no time. Link to comment Share on other sites More sharing options...
harrymcb Posted May 30, 2017 Author Share Posted May 30, 2017 thanks. i assume if i change a server script that it will only effect my servers or single player? i'll look through the docs for more thanks. PS. i just figured(based on assumptions) out that scripts like the systems scripts are entirely server based. the OnClient part is the server telling the client what to do. so my changes there have no effect on other servers. BTW if i am way off, which i don't doubt, tell me please. i don't want to cheat. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now