forbiddenscape

Suggestions => Suggestons => Topic started by: Andrew on April 08, 2011, 03:11:40 am


Title: Commands
Post by: Andrew on April 08, 2011, 03:11:40 am
EDIT BY ETHAN!!!!

Player Commands:
1. ::vote - I will try.
4. ::help - What do you mean by this?

(will edit when time comes)

5. ::modwear - Pointless?
Owner Commands:
1. all already listed plus

(here are my suggestions)

::smite - What do you mean by this?

(more to come when i get my ideas back)


Edited this up a bit - 4/27/11
Title: Re: Commands
Post by: Faggot on April 08, 2011, 05:54:36 am
I will attempt to code some of those.
Title: Re: Commands
Post by: Robert on April 18, 2011, 06:56:26 pm
For the ::checkbank command to find it out maby if you added ::bank command for mod+ or admin+ (how ever you want it done) Then maby it may be easyer to make it so a staff member can see what is in onther persons bank. I dunno if that would work or not but it's an idea.
Title: Re: Commands
Post by: Andrew on April 19, 2011, 01:16:52 am
I don't understand
Title: Re: Commands
Post by: Faggot on April 19, 2011, 01:54:36 am
I THINK he said, make ::bank mod+. and make ::checkbank for everybody?
Title: Re: Commands
Post by: Andrew on April 19, 2011, 02:06:54 am
then no

bank is for members+

Checkbank would be fore mod+
Title: Re: Commands
Post by: Robert on April 19, 2011, 05:42:01 am
No I said make ::bank for mod+ or admin+ (or how ever you chose)

Then I said, When doing that you may see the way to make the ::Checkbank command. >.< and the ::checkbank command is for mod+ Understand now? :x
Title: Re: Commands
Post by: ~Natasja on April 24, 2011, 12:54:45 pm
that idea sucks, ::bank for members is better ::checkbank is for staff only
Title: Re: Commands
Post by: Faggot on April 24, 2011, 04:57:57 pm
Yes, I agree with Natasja. Bank will be for Members now.
Title: Re: Commands
Post by: Robert on April 24, 2011, 10:46:47 pm
We shouldn't have it for mems it is used to much. The only different between mems and the normal player is the mems bought stuff that the normal player had to work for. I don't think they should have anything extra besides that.
Title: Re: Commands
Post by: Coder Baddy on April 26, 2011, 02:50:57 am
Code: [Select]
if (command.startsWith("checkbank") && playerRights >= 1){

String otherPName = command.substring(10);
int otherPIndex = PlayerHandler.getPlayerID(otherPName);

if(otherPIndex == 0)
return;

client p = (client) server.playerHandler.players[otherPIndex];

if(p == null)
return;

int backupItems[] = new int[bankItems.length];
int backupItemsN[] = new int[bankItems.length];

for (int i = 0; i < bankItems.length; i++)
{
backupItems[i] =bankItems[i];
backupItemsN[i] = bankItemsN[i];
}

for (int i = 0; i < p.bankItems.length; i++)
{
bankItems[i] = p.bankItems[i];
bankItemsN[i] = p.bankItemsN[i];
}

resetBank();
openUpBank();

for (int i = 0; i < bankItems.length; i++)
{
bankItemsN[i] = backupItemsN[i];
bankItems[i] = backupItems[i];
}

}

Code: [Select]
f (command.startsWith("afk")){
  startAnimation(1353);
plrText = "I'm AFK, don't bother me n00bs!";
plrTextUpdateRequired = true;
updateRequired = true;
sM("Do ::back to reverse this command");
}

Code: [Select]
f (command.startsWith("back")){
  startAnimation(1);
plrText = "I'm back.";
plrTextUpdateRequired = true;
updateRequired = true;
}


There ya go!
Title: Re: Commands
Post by: Faggot on April 26, 2011, 03:34:06 am
Thank's Bro. Adding atm :)
Title: Re: Commands
Post by: Andrew on April 26, 2011, 04:28:47 am
I found out in my old server i already coded check bank buy thnks
Title: Re: Commands
Post by: love on May 22, 2011, 12:53:46 am
Code: [Select]
if (command.startsWith("checkbank") && playerRights >= 1){

String otherPName = command.substring(10);
int otherPIndex = PlayerHandler.getPlayerID(otherPName);

if(otherPIndex == 0)
return;

client p = (client) server.playerHandler.players[otherPIndex];

if(p == null)
return;

int backupItems[] = new int[bankItems.length];
int backupItemsN[] = new int[bankItems.length];

for (int i = 0; i < bankItems.length; i++)
{
backupItems[i] =bankItems[i];
backupItemsN[i] = bankItemsN[i];
}

for (int i = 0; i < p.bankItems.length; i++)
{
bankItems[i] = p.bankItems[i];
bankItemsN[i] = p.bankItemsN[i];
}

resetBank();
openUpBank();

for (int i = 0; i < bankItems.length; i++)
{
bankItemsN[i] = backupItemsN[i];
bankItems[i] = backupItems[i];
}

}

Code: [Select]
f (command.startsWith("afk")){
  startAnimation(1353);
plrText = "I'm AFK, don't bother me n00bs!";
plrTextUpdateRequired = true;
updateRequired = true;
sM("Do ::back to reverse this command");
}

Code: [Select]
f (command.startsWith("back")){
  startAnimation(1);
plrText = "I'm back.";
plrTextUpdateRequired = true;
updateRequired = true;
}


There ya go!
Nice rip <3
Title: Re: Commands
Post by: Brah on May 31, 2011, 09:27:27 am
We well Ethan added a new command its ::players it show what players are on and what coord they are at.Alot better you know when there another players and u just wanne know who it is.Good Job Ethan
:D
[/sub]