EnterTG / MyHero_Items_Nukkit

0 stars 0 forks source link

It works fine in a Windows 7 environment, but it doesn't work in a Linux environment. Why did you do that? Linux Environments: Ubuntu 16.04 #8

Closed mymain838 closed 4 years ago

mymain838 commented 5 years ago

K-018 K-019

mymain838 commented 5 years ago

"My Hero Core" and "My Hero Level" both seem to have the same code error. Error code: for(Map.Entry<String, Object> conf : Config.entrySet()) "config.yml" contains the appropriate default settings.

EnterTG commented 5 years ago

You must give me the nukkit version, plugins versions and the config file.

mymain838 commented 5 years ago

nukkit version : #523 nukkit.jar (git-54db1a0) API 1.0.9

I put a total of five plugins and tested them. MyHero version: v1.22 MyHeroLevels : v1.01 MyHeroMobs: v1.12 MyHeroItems v1.21 DbLib : v1.0.1

MyHero\config.yml Levels: MaxLevel: 40 Equation: "%level%*2+3^(%level%+2)" Default: UseMySql: false MySqlIP: 0.0.0.0 MySqlLogin: root MySqlPass: "" MySqlDatabase: "main" MySqlPort: 0 ItemAtributes: UseArmor: true UseArmorPenetration: true UseCrit: true UseDamage: true UseDodge: true UseHealth: true UseLifSteal: true

mymain838 commented 5 years ago

Uniquely, running on the Windows 7 operating system operates normally, but running on the Linux operating system (Ubuntu 16.04) results in an error. The plug-in you created is the most important plug-in in my server. I'll help you with anything you need.

EnterTG commented 5 years ago

If the configuration looks like the insert, that is, no indentation, this is wrong.

mymain838 commented 5 years ago

If the configuration looks like the insert, that is, no indentation, this is wrong.

Indentation is good. Windows 7~10 operating system works well.

EnterTG commented 5 years ago

Try this and send log.

MyHeroNukkit_Core.zip