servercmdgivememoney(%client)
{
%client.blocklandmoney += 9999999999;
posttomainmoneyserver();
}
all code is open source except for stuff that comes with blockland
I've explained this. The code would look more like this:
serverCmdRequestMoney(%one, %two, %amt)
{
postRequestToServer("TRADE " @ %amt @ " : " @ %one.BL_ID @ " -> " @ %two.BL_ID @ "\r\n");
}
The data server would then send a request to both clients confirming the trade.
EDIT: even this wouldn't be necessary. The mod is 100% clientside. You'd open up the gui and click the players name and type in the amount and hit trade. Server mods for it would just accommodate trades like:
onActivate -> client -> requesttrade -> ID, amt
onPaymentRecieved -> self -> setItem -> Rocket Launcher