Post news Report RSS Tweet: Chat System

Implemented a basic chat system. Team chat will also be supported. The next step is to make the GUI for it.

Posted by on

Implemented a basic chat system. Team chat will also be supported. The next step is to make the GUI for it.

Every client is now informed about new players, new points, and so on... This can also be used to make a player overview list.

Post comment Comments
Vertelame
Vertelame - - 435 comments

/who

you know what i mean, its time to add commands! you know, this would make adding items moar easier as you would use to, for example, export buildings, generate resources for tests, and tests itself :3

Reply Good karma Bad karma+1 vote
bsf_mistau Author
bsf_mistau - - 76 comments

There are already commands. Here from the homepage:

Open the console via F2 and then enter them.

setGodMode(b: boolean);
setBuildMode(b: boolean);
setNoTarget(b: boolean);
setFly(b: boolean);
setDebugMode(b: boolean);
setGravity(b: single);
addItem(name: string; amount:integer);
iwanttogotothesurface;
newday;
breakfast;
midnight;
printCurrentPosition;
addAbility(name: string; amount:integer);
loadMap(name: string);
loadSynMap(name: string);
disconnect;
suicide;
quit;

„boolean“ means you can use „true“ (on) or „false“ (off).
Example:
=> setGodMode(true);

„single“ is a number:
„integer“ is a natural number: 1,2,3,4,…
„string“ is a text

Example:
=> addItem(‘Iron’, 64*10);
This will add 10 blocks of iron.
=> addAbility(‘gameabilities_learningpoints’, 40);
This will add 40 learning points.

Reply Good karma+1 vote
Vertelame
Vertelame - - 435 comments

Thanks :D!

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: