View Single Post
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-03-2015 , 11:25   Re: OciXCrom's Admin Chat
Reply With Quote #14

Quote:
Originally Posted by OciXCrom View Post
Well, I didn't actually edit and release it. I totally rewrote it and made a brand new one with a lot of new options. I'm not familiar with what GitHub is or how it works, but I'll take a look later. Although AMXX is updated, I personally haven't seen any major changes to the default plugins so far, especially this one. Also, the thing with a plugin being stuck probably won't affect only this one, so it's more of a "global" issue. I doubt that they will implement something better than this, and if they do, I will probably update my plugin with more options.

All default plugins can use a refreshment. In my opinion the current codes can be written in much more better ways, and this is example of such a thing. It probably isn't the best way of coding it, but I'm sure that it's better than the default one. I'm expecting some advice for improving my code, if needed.
I could not describe some step's detail very well, but its only a matter of google the step itself, to get it fully described.

0) Learn what is Version Control.

1) Its easy, even if you are not familiar with git. There is interface super awesome to use it, it is SmartGit, and is available to Windows, Linux and Mac. Install it.

1) Go to your Github webpage, log in to your github account, go to https://github.com/alliedmodders/amxmodx repository, Fork it to you account clicking at 'Fork' button.

2) Then go to 'Smartgit' program and clone you forked amxmodx, at some folder at you computer with the repository address:
Quote:
https://github.com/yourgithubaccountname/amxmodx.git
3) After that, you will have the amxmodx code at your computer, then find the original 'adminchat.sma' and update it with you 'adminchat.sma'.

4) Then, go to 'Smargit', select the adminchat.sma, click at 'Commit' button and describe your changes at the code. It is good to link the plugin release alliedmodders' forum page, to them to see the community response.

5) Then click 'Commit' at the commit window. Then click 'Push' button at 'Smartgit' interface.

6) Get to know what is a git branch.

7) Get to know what is a pull request.

8) Follow the pull request steps.

9) Waits the AMX MOD X team, review your code changes and accept it or reject then. (if reject, probably they will tell you why)

10) To master git, see:
Quote:
Semantic Versioning.

Git branching and release management strategy Obs, 'Smartgit' has the gitflow plugin built-in.

About Conflicts.

https://git-scm.com/doc Fits too, for those who don't like user interfaces.

Last edited by addons_zz; 10-03-2015 at 11:46.
addons_zz is offline