Fougerite Documentation

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
Well this is starting to look cool. In the future we could add examples of code below each section and explain what each handle / pointer does !
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
Well this is starting to look cool. In the future we could add examples of code below each section and explain what each handle / pointer does !
I already plan on it, I work from home as web designer so always at the computers on my desk, one im messing around on and the other i'm working. Hence why I get some much done on here and in my plugins. I have tested soooooo many calls with player.message it's no longer funny.

Haha it's funny but why do you say C# is hard ?

I didn't find any difficulty when learning it and also you can check all variables or methods of Fougerite you need without going to the documentation.

Example :

Nah isn't THAT hard, however still don't understand the public/static/declarations, the syntax is the easy part. Need to look up the documentation for it which is probably why I still dont get it. Eventually Ill understand and move all my plugins to C# because of the increased call speeds according to mikec. Also need to learn more about proper importing... XD
 
Last edited:

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
I already plan on it, I work from home as web designer so always at the computers on my desk, one im messing around on and the other i'm working. Hence why I get some much done on here and in my plugins. I have tested soooooo many calls with player.message it's no longer funny.



Nah isn't THAT hard, however still don't understand the public/static/declarations, the syntax is the easy part. Need to look up the documentation for it which is probably why I still dont get it. Eventually Ill understand and move all my plugins to C# because of the increased call speeds according to mikec. Also need to learn more about proper importing... XD
Well, about public/private it's like making it available to all classes or only to the one where it is located.

And about static, afaik is the way you can use methods and variables for example Player.SteamID is specific for each player and never the same as others. However, Player-Kill() or Player.Disconnect() is the same for all players (instances) which never changes.

I tried to explain the best way I could, hope you understand :p If you need help at C# tell me =)
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
Well, about public/private it's like making it available to all classes or only to the one where it is located.

And about static, afaik is the way you can use methods and variables for example Player.SteamID is specific for each player and never the same as others. However, Player-Kill() or Player.Disconnect() is the same for all players (instances) which never changes.

I tried to explain the best way I could, hope you understand :p If you need help at C# tell me =)
Now that makes more sense! I will eventually have another go at making a plugin in C#. :)

Created page and added basic example with explanation:
http://fougerite.wikia.com/wiki/Javascript
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
Why would we change now that we have all set and ready ? I see no reason. MediaWiki is the core of Wikia too.
Because Skippi doesn't like it. Good reason for me :rolleyes:

I dont like it either, however, who cares? It can be moved over later anyways, worst case.
 

CorrosionX

Plugin Developer
Plugin Developer
Sep 3, 2014
212
85
18
California
JavaScript:
function Skippi(Player){
     while(wiki.Location != wiki.fougerite.com){
          Server.Broadcast(complainwithoutgoodreason);
     }
}
Proper use of while @DreTaX ?