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.
Implemented a basic chat system. Team chat will also be supported. The next step is to make the GUI for it.
Posted by bsf_mistau 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.
/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
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.
Thanks :D!