Yes, that´s true, it´s just the question whether you want /help1, /help2 etc. or /help 1, /help 2 etc, but, of course, your right.
You can do /help 1, /help 2 ect without the && cmd[1] = "". But let's stop arguing. I'm sorry, you have been very helpful for others, I'm just showing you a few pointers.
Yes you can, Haven't you looked at the source code of my CMD Mod? it's very possible, and more efficient. You shouldn't be posting all this stuff if you don't even know basic stuff like that.
I wanna create a server and play with my friends. I have seen pocketmine, but since pocketmine doesnt function AI Mob, and spawning mob i can't use it, because my friends, and i want to play survival. So i come up with a question: is there any way to create a server that able to spawn mobs/ AI for mobs.
P/s1: i don't use port because I can't keep my device 100% up.
P/s 2: at bad English
PS 3: I don't care about free
Actually, there is several ways, One of the most easiest is to use a VPN.
Step 1: Download a VPN Client.
Step 2: Get your friend to download the same VPN Client.
Step 3: Connect to the same VPN Connection.
Step 4: Join a world.
Step 5: Your friend joins.
Step 6: Enjoy!
It is in hex because I obfuscated (scrambled) it.
It is to protect from people taking parts of the code.
It still works perfectly though!
LOL... It's a simple ModPE Script. I really see no point in obfuscating it, AT ALL. It's really, super dooper basic code, I learnt how to do all that in the first 30 minutes of me starting in using ModPE. Anyways, good job. And Maybe add some more commands?
I consider myself very lucky to have posted this a day before my phone went down(I make all my mods through my phone) because of a system error by cricket. Stupid cricket. At least I didn't get very far on my another mod I was making before it crashed.
Same! I develop most things on my phone. But I haven't had any errors so far!
Hmm yeah to be honest that can be cool! I can make it so if your board in one world you can do /world name and u teleport to a new world! Noice. But ima work on making it full proof and for a dimension in my mod or in any one elses mod.
In my mod InfernoCraft I added a dimension THAT ACTUALLY TELEPORTS YOU TO A DIFFERENT WORLD!! Its not full proof thoe... It only have like a 1/20 chance of actually generating the world without crashing a fix will be made. I allow u to copy and paste to your mod!! (Just give me credit for actually coming up with the simplest code you will ever see)
Coding
var world;
function useItem(x,y,z,itemId,blockId,side,data){
if(blockId==205){
world = Level.getWorldName()
ModPE.selectLevel("void")
print("Into The Void [MAY CRASH]")
}
}
Edit the name and stuff. (id,"void",print thing, and thats it.)
I dont know why but ive been searching for this kind of tutorial but i never seen one. Another problem is when i try to look at someone's mod that has a custom ai. It looks like the code is obfuscated. Im not trying to steal but, im just trying to get idea how do they do a mod like that. Sorry if im not knowledged about thus coz im just a beginner, i only know basic of java and i havnt read any book of javascript. I know how to mod basics but i dont know a lot. Please give us some idead on custom AI in mcpe
(Sorry for bad english)
Some basic stuff is:
function chatHook(hi) //The following code will be executed when the player says 'hi'
{
clientMessage('Howdie!');
}
0
You can do /help 1, /help 2 ect without the && cmd[1] = "". But let's stop arguing. I'm sorry, you have been very helpful for others, I'm just showing you a few pointers.
0
Yes you can, Haven't you looked at the source code of my CMD Mod? it's very possible, and more efficient. You shouldn't be posting all this stuff if you don't even know basic stuff like that.
0
Lol, why do you have to make it .txt then change it to .js, Wouldn't it just be easier to make it a .js file? LOL!
0
You don't really need the && cmd[1] == "") { You can just simply do cmd[0] == "HELP") {
Lol.
0
Actually, there is several ways, One of the most easiest is to use a VPN.
Step 1: Download a VPN Client.
Step 2: Get your friend to download the same VPN Client.
Step 3: Connect to the same VPN Connection.
Step 4: Join a world.
Step 5: Your friend joins.
Step 6: Enjoy!
0
LOL... It's a simple ModPE Script. I really see no point in obfuscating it, AT ALL. It's really, super dooper basic code, I learnt how to do all that in the first 30 minutes of me starting in using ModPE. Anyways, good job. And Maybe add some more commands?
0
I don't care about getting paid. I just like to make awesome Mod's that people enjoy!
0
Lol!!
0
Same! I develop most things on my phone. But I haven't had any errors so far!
0
Lol .-.
0
0
Good job! But I prefer to use a command for it
0
Some basic stuff is:
0
Luls
0
Yah.