#Im doing something wrong I cant realize what
1 messages · Page 1 of 1 (latest)
Here's my pets food config
ItemId: COOKED_SALMON
Type: TAME
Power: 1
Operator: ADD
Signal: TAMING
Pets:
- penguin```
MythicMob: penguin
Permission: mcpets.penguin
Mountable: false
Distance: 6
SpawnRange: 1
ComingBackRange: 3
Icon:
Name: §fPenguin
TextureBase64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDgxOWE3NGM0YzMwMGYyYWQwMzJlMWZhMDhkN2U1ZjFhZjYyOWMyY2ZiM2JlMDYxYmQ3YjViY2Y4ZTJlYzU3In19fQ==
Description:
- §7A penguin that will follow you all along your way!
- §7he usually likes the cold.
- §n
- §d▶ §7Click for §a§uSelect§r§7!
Here's my pet config
Type: PIG
Health: 12
Options:
Silent: true
PreventSunburn: true
PreventRenaming: false
MovementSpeed: 0.11
PreventOtherDrops: true
Drops:
- exp 1-13 0.95
AIGoalSelectors:
- clear
- randomstroll
Skills:
- setLivingPet{id=penguin;followOnTame=true} @self ~onSignal:TAMING
- command{c="lp user <pet.owner.name> permission unset mcpets.penguin"} @self ~onDeath
- model{mid=penguin;n=false;drive=true;step=2} @self ~onSpawn
- model{mid=penguin;n=false;drive=true;step=2} @self ~onLoad
- skill{s=penguin_slide_down} @Self ~onTimer:45 ```
Here's my mythic mob config
Make the "p" a capital letter
ItemId: COOKED_SALMON
Type: TAME
Power: 1
Operator: ADD
Signal: TAMING
Pets:
- penguin
It's still not capital
AAA that p
I am blind.
Nvm still doesn't work xD
ItemId: COOKED_SALMON
Type: TAME
Power: 1
Operator: ADD
Signal: TAMING
Pets:
- Penguin```
why is p small here
as well
I assume you meant this p - setLivingPet{id=Penguin;followOnTame=true} @self ~onSignal:TAMI
did you do mm and mcpets reload?
Yep
And spawned a new pengin
Also tried with an alt account with no permissions
No changes
Although do notice
When I try to click a penguin which is brought from /pets
And I click it with cod
It tells me Its already tamed
So it's mythicmobs I think
Just dont know what
Don't think so
Can I set unlock permission on tame to be world specific?
(I do know about the disable-worlds feature although this isnt my usecase)
I don't think so
Is there a github where I can put one of those as a request?
Uhhh, #1021436348990754856
Sorry for bothering you not sure if a reply pings you or not, can I play a sound on tame ?
I belive a MM skill can be executed
I might have found an issue or a undisclosed feature when I tag the mob with - setLivingPet{id=Penguin;followOnTame=true} @self ~onSpawn it becomes invincible
Hmm
Before taming ofc
Did you manage to find the solution?
Nope honestly but I havent updated to the new mcpets in like a month or so
I can get that on soon and test
Processed!
On what version was this fixed?
I'm still running 1.20.4 and I assume it's 4.1.4
probably yes, it's been a year
Alright also I wanted to ask you about this specifically
❌ Add multi-server support to keep pets spawned between servers
I simply have no idea how to do it yet
Do you wish to keep the pet active like sat in one place
Or do you wish to keep the pet spawned in on server switch event?
I think it was just about spawning the pet on switch event yeah, maintaining stats is already handled through MySQL DB normally
Use Redis
And make a channel to communicate between servers
RabbitMQ would also work though Redis has a good library for minecraft
Any noSQL would basically solve it
I can perhaps over the summer do a pull request for this although if you have time
That'd be great! I'm not really well-versed in such deployments, I'm avoiding it xD
xD, Ill see to learn the code structure when I have time to implement it I assume I could just simply call an Event from mcpets to summon the pet last saved in nosql
Yeah there's a simple PetSpawnEvent I believe
It's a very old code(2016 I believe?) so it would probably need modernization. People have been bringing a lot lately, I appreciate the updates
Alright that's then not that hard to do I'd need to implement dependancy on RedisTools and save the last pet spawned in NoSQL on leave event and then get the same identifier on join event and call PetSpawnEvent