Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a problem about ExternalMob #204

Closed
rock211212 opened this issue Feb 8, 2017 · 11 comments
Closed

a problem about ExternalMob #204

rock211212 opened this issue Feb 8, 2017 · 11 comments
Assignees

Comments

@rock211212
Copy link

i have a problem about ExternalMob.
i cant spawn a CustomMobs in my dungeon,wen try to spawn it my CMD well get
[07:06:06] [Server thread/INFO]: [0;36;22m[- [0;33;22mCustomMobs [0;36;22m -] [m [0;31;1m1092.5 should be a number! [m
[07:06:06] [Server thread/INFO]: [0;36;22m[- [0;33;22mCustomMobs [0;36;22m -] [m [0;33;22m/ccmob spawn [amount] [0;37;22m - [0;36;22mConsole and CommandBlock spawn command [m

@Sataniel98
Copy link
Member

How does your sign look like?

@rock211212
Copy link
Author

image 1

@Sataniel98
Copy link
Member

I can imagine that they changed their syntax, you can still register the /ccmob command with a new identifier in the main config.

@rock211212
Copy link
Author

Could you please elaborate on how to use it?
image 2

@Sataniel98
Copy link
Member

"XY: custommobplugin spawnmob %mob% %world% %x% %y% %z%"
Replace XY with any identifier for the sign. Replace the second part with the command to spawn the mob. That's it.

@rock211212
Copy link
Author

i register main config But the problem is still there
my config:
externalMobProviders: {IF: ccmob spawn %mob% %world% %x% %y% %z%}
sing: (chicken is my boss name)
image 3
cmd:
[03:06:33] [Server thread/INFO]: �[0;36;22m[- �[0;33;22mCustomMobs�[0;36;22m -] �[m�[0;31;1m1092.5 should be a number!�[m
[03:06:33] [Server thread/INFO]: �[0;36;22m[- �[0;33;22mCustomMobs�[0;36;22m -] �[m�[0;33;22m/ccmob spawn [amount]�[0;37;22m - �[0;36;22mConsole and CommandBlock spawn command�[m
What am I doing wrong?

@Sataniel98
Copy link
Member

Does the command work if you use it manually? (e.g. /ccmob spawn chicken DXL_Game_1 0 5 0)

@rock211212
Copy link
Author

yes
image 4

@Sataniel98
Copy link
Member

I tested it. The problem is that CustomMobs does not recognize .5 values as numeric values. I have no idea why, it wouldn't be more complicated to use doubles instead of ints like Minecraft locations do it anyway. I think I'll submit a PR to CustomMobs and leave it as is in DXL.

@rock211212
Copy link
Author

I got it! thank

@Sataniel98
Copy link
Member

Decided to add a simple solution to DXL itself instead, please try 0.15.7 build 6 or higher :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants