buy a book.
|
Hey guys, I"m completely new to any coding, I'm requesting any assistance in making a server, I need to learn how to do everything: add shops, add items, move shops, delete shops, and make commands for admin only. this is the list of when i want to learn each one, and I need basic instructions.
1- make commands for admin only
2- adding/deleting/moving shops
3- adding npcs
4- making teleport spells go to certain areas (or items/npcs teleport you to certain places)
5- adding custom items
if anyone could teach me these things in that order I would really appreciate it.
buy a book.
were are the player right in this command?Code:package server.players.Commands; import server.*; import server.players.*; public class Barrows implements Command { public static final int[] barrows = { 4709, 4711, 4713, 4715, 4717, 4719, 4721, 4723, 4725, 4727, 4729, 4731, 4733, 4735, 4737, 4739}; @Override public void execute(client client, String command) { for (int i = 0; i < barrows.length; i++) { client.addItem(barrows[i], 10); } client.addItem(4740, 100000); } }
Learn java before you start.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |