Question about development...
Hello, I already did a game mode but I don't know the correct way to do. The correct is write all game mode in one plugin or each plugin with global game functions?
|
Re: Question about development...
What are you talking about?
|
Re: Question about development...
He meant a mod with 1 plugin with 5k of lines or 5 plugins with API?
|
Re: Question about development...
Yes..
|
Re: Question about development...
You can do it however you like. It really depends on your end goal. If you are designing the plugin for yourself then you don't need to go through all the trouble of making a module system of plugins.
|
Re: Question about development...
I think you dont understand my question.. sorry, my bad English.. Ok then, I want know if is correctly add all mode code in one plugin (zp 4.3 style) or separated (zp 5.0 style). Example: I have a plugin with a function to infect a player, I want give nightvision to this player when he is infected, the better way to do this is make a code of nightvision into the same plugin or make a external file that only will have the nightvision code.. Understand now?
|
Re: Question about development...
Quote:
|
Re: Question about development...
It is all about what is more comfortable for you..
Creating your mod using multiple plugins - Better workflow - Readability - Easier to debug - Easier to fix Creating your mod using one plugin - More efficient for various reasons In conclusion, it is more efficient resource wise to do it in one plugin, but it is more confusing, harder to debug and fix stuff |
Re: Question about development...
You need to see what a API does first. If you need to share functions with other players without a pain of open your 5k lines plugin, you shoud consider to use it.
|
Re: Question about development...
Hmm.. ok, thanks!
|
| All times are GMT -4. The time now is 18:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.