Mod names?

brie355
New member
 
Posts: 4
Joined: Tue May 24, 2016 01:03

Mod names?

by brie355 » Tue May 24, 2016 01:05

How do I edit the lua file to change the names of mods without causing bugs?
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Mod names?

by azekill_DIABLO » Tue May 24, 2016 09:34

ex: you want to rename mobs to 355monsters

just change things like mobs:chicken
to 355monsters:chickens
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: Mod names?

by MineYoshi » Tue May 24, 2016 20:37

azekill_DIABLO wrote:ex: you want to rename mobs to 355monsters

just change things like mobs:chicken
to 355monsters:chickens

*ahemmm*

I don't know, but i don't recommend it, there is some trouble if the name of the folder is different to the name of the mod in the init.lua...
(IDK only that happened to me some time ago...)

If you want to rename completely a mod and his files and code.
You should:
1.Rename the folder
2.Change in all the "item strings", the mod name.
Example:
A item string goes "modname:itemname".
If you have a mod called "azepotato" and you want to rename it to "azepotatoes" you should rename ALL the itemstrings from "azepotato:itemname" to "azepotatoes:itemname", do you understand? Any question say me!
3.No more, any question please, say me i will answer ya'
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Mod names?

by azekill_DIABLO » Wed May 25, 2016 13:57

"azepotato"? seriously minebanana??
Image
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: Mod names?

by MineYoshi » Wed May 25, 2016 20:27

Only is a "test_name", it's to explain ok?

Just i hope i answered your question @brie355
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Mod names?

by azekill_DIABLO » Thu May 26, 2016 07:07

i know :)

brie355 you can also set the name of your mod by creating a mod.conf file in your mod folder.
just write the name of your mod in it
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

brie355
New member
 
Posts: 4
Joined: Tue May 24, 2016 01:03

Re: Mod names?

by brie355 » Thu May 26, 2016 22:42

Thank you guys for all the help! :)
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 8 guests

cron