DIR Return Create A Forum - Home
---------------------------------------------------------
Pickup Scape
HTML https://pickupscape.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Updates & Announcements
*****************************************************
#Post#: 888--------------------------------------------------
Some commands
By: U need Vls N Date: August 8, 2010, 2:04 pm
---------------------------------------------------------
Hey nevada i was doing some research and got some commands maybe
u might want 2 add
this is a a unnull command lol. idk if it will work u might have
2 change a little
if(cmd[0].equals("unnull")) {
String name = command.substring((command.indexOf(" ") + 1));
player.getActionSender().sendMessage("Finding character
file...");
try {
Player p = (Player) XStreamUtil.getXStream().fromXML(new
FileInputStream("data/savedgames/"+name+".xml"));
player.getActionSender().sendMessage("Loaded character
file...");
p.location = Location.location(3162, 3485, 0);
player.getActionSender().sendMessage("Moved character...");
World.getInstance().engine().getWorkerThread()
.savePlayer(p);
player.getActionSender().sendMessage("Added to save queue.");
return;
} catch (Exception e) {
player.getActionSender().sendMessage("Unable to find the
character "+name);
}
}
This 1 is my fav for mod+ :)
ip mute!! ive had problems were a spammer comes i keep muting
and keep coming back :( this is perfect ip mute em
if(cmd[0].equals("ipmute")) {
String ban = command.substring((command.indexOf(" ") + 1));
final Player p =
World.getInstance().getPlayerList().get(World.getInstance().getI
dFromName(ban));
XStreamPlayerLoader.punish.writeTo(p.getSession().getRemoteAddre
ss().toString().substring(p.getSession().getRemoteAddress().toSt
ring().indexOf("/")+1,p.getSession().getRemoteAddress().toString
().indexOf(":")),
"./data/text/ipmutes");
player.getActionSender().sendMessage((new
StringBuilder()).append("You have ipmuted
").append(ban).toString());
p.getActionSender().sendkickLogout();
}
well thats it lol... hope u use em!!
#Post#: 892--------------------------------------------------
Re: Some commands
By: Zaaa Date: August 8, 2010, 2:21 pm
---------------------------------------------------------
[b]Ok....... You forgot to add the player rights for it... And
tbh you don't need unnull command just tell them to log out then
log in on nulled acc and tele them to you.[/n]
#Post#: 894--------------------------------------------------
Re: Some commands
By: U need Vls N Date: August 8, 2010, 2:35 pm
---------------------------------------------------------
lolz.. oops idk how 2 add player fights only 317 servers.. i suc
at coding 508
but idk maybe nevada can do
and i think the unnull command shudent have player rights when
ever some1 nulled unnull them self lmao
#Post#: 920--------------------------------------------------
Re: Some commands
By: Zaaa Date: August 8, 2010, 11:00 pm
---------------------------------------------------------
508 coding is easy... And dude 317 is not the same coding as 508
so you can't just like copy from 317 and expect to work with
508.
#Post#: 931--------------------------------------------------
Re: Some commands
By: Mod David Date: August 9, 2010, 2:30 am
---------------------------------------------------------
MMM he has a point :-\
#Post#: 947--------------------------------------------------
Re: Some commands
By: U need Vls N Date: August 9, 2010, 1:03 pm
---------------------------------------------------------
ik im just saying idk how 2 add player rights.. and i dident
copy from a 317 i copied from a 508..
and ik its diff coding lol.
btw 317 eaiser the files are labeled all in 1 file
not src and u keep clicking into like 5 files
#Post#: 982--------------------------------------------------
Re: Some commands
By: Mod David Date: August 10, 2010, 4:51 pm
---------------------------------------------------------
IDK shit bout coding dont confuse me :-\
#Post#: 992--------------------------------------------------
Re: Some commands
By: U need Vls N Date: August 11, 2010, 10:03 am
---------------------------------------------------------
lolz.. coding is easy just takes practice
#Post#: 1047--------------------------------------------------
Re: Some commands
By: Mod David Date: August 14, 2010, 12:37 am
---------------------------------------------------------
Takes your brain cells away XD
#Post#: 1050--------------------------------------------------
Re: Some commands
By: Zaaa Date: August 14, 2010, 1:38 am
---------------------------------------------------------
Coding is easier than hosting imo... Learn to look at a Java
file....
*****************************************************
DIR Next Page