Author Topic: Commands  (Read 378 times)

Offline Andrew

  • Smexy-ness
  • Owner
  • Newbie
  • *
  • Posts: 63
  • Rep: 10
  • Co-Owner Champ
    • View Profile
Commands
« 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
« Last Edit: April 28, 2011, 12:52:50 am by Ethan »

Share on Facebook Share on Twitter


Offline Faggot

  • Proud Owner.
  • Active Member
  • *
  • Posts: 188
  • Rep: 19
    • View Profile
    • Forbiddenscape
Re: Commands
« Reply #1 on: April 08, 2011, 05:54:36 am »
I will attempt to code some of those.

Click on them to vote for us!

Offline Robert

  • Troll
  • Newbie
  • *
  • Posts: 13
  • Rep: 1337
  • Watch your back.
  • Location: In your house.
    • View Profile
Re: Commands
« Reply #2 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.
Problem?

Offline Andrew

  • Smexy-ness
  • Owner
  • Newbie
  • *
  • Posts: 63
  • Rep: 10
  • Co-Owner Champ
    • View Profile
Re: Commands
« Reply #3 on: April 19, 2011, 01:16:52 am »
I don't understand

Offline Faggot

  • Proud Owner.
  • Active Member
  • *
  • Posts: 188
  • Rep: 19
    • View Profile
    • Forbiddenscape
Re: Commands
« Reply #4 on: April 19, 2011, 01:54:36 am »
I THINK he said, make ::bank mod+. and make ::checkbank for everybody?

Click on them to vote for us!

Offline Andrew

  • Smexy-ness
  • Owner
  • Newbie
  • *
  • Posts: 63
  • Rep: 10
  • Co-Owner Champ
    • View Profile
Re: Commands
« Reply #5 on: April 19, 2011, 02:06:54 am »
then no

bank is for members+

Checkbank would be fore mod+

Offline Robert

  • Troll
  • Newbie
  • *
  • Posts: 13
  • Rep: 1337
  • Watch your back.
  • Location: In your house.
    • View Profile
Re: Commands
« Reply #6 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
Problem?

Offline ~Natasja

  • Newbie
  • *
  • Posts: 1
  • Rep: -99
  • <3
  • Location: Netherlands duhh
    • View Profile
Re: Commands
« Reply #7 on: April 24, 2011, 12:54:45 pm »
that idea sucks, ::bank for members is better ::checkbank is for staff only



~If you dont stand for anything, you fall for everything~
~people with rights fight for them, people with no honer just random ban people because they cant win in words~

Offline Faggot

  • Proud Owner.
  • Active Member
  • *
  • Posts: 188
  • Rep: 19
    • View Profile
    • Forbiddenscape
Re: Commands
« Reply #8 on: April 24, 2011, 04:57:57 pm »
Yes, I agree with Natasja. Bank will be for Members now.

Click on them to vote for us!

Offline Robert

  • Troll
  • Newbie
  • *
  • Posts: 13
  • Rep: 1337
  • Watch your back.
  • Location: In your house.
    • View Profile
Re: Commands
« Reply #9 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.
Problem?

Offline Coder Baddy

  • Newbie
  • *
  • Posts: 19
  • Rep: 1338
  • I'm a FBS noob.
    • View Profile
Re: Commands
« Reply #10 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!

Offline Faggot

  • Proud Owner.
  • Active Member
  • *
  • Posts: 188
  • Rep: 19
    • View Profile
    • Forbiddenscape
Re: Commands
« Reply #11 on: April 26, 2011, 03:34:06 am »
Thank's Bro. Adding atm :)

Click on them to vote for us!

Offline Andrew

  • Smexy-ness
  • Owner
  • Newbie
  • *
  • Posts: 63
  • Rep: 10
  • Co-Owner Champ
    • View Profile
Re: Commands
« Reply #12 on: April 26, 2011, 04:28:47 am »
I found out in my old server i already coded check bank buy thnks

Offline love

  • Newbie
  • *
  • Posts: 16
  • Rep: 0
  • I'm a noob so dont bother me
    • View Profile
Re: Commands
« Reply #13 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

Offline Brah

  • Newbie
  • *
  • Posts: 13
  • Rep: 0
  • Yeah im a FBS Noob
  • Location: Calgary,Alberta
    • View Profile
Re: Commands
« Reply #14 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]
вяaн