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

yaml does not work 1.7.10 #157

Closed
Westus opened this issue Jan 29, 2017 · 8 comments
Closed

yaml does not work 1.7.10 #157

Westus opened this issue Jan 29, 2017 · 8 comments

Comments

@Westus
Copy link

Westus commented Jan 29, 2017

Thermos-1.7.10-1614-server

Plugins list:

  • Essentials
  • EssentialsChat
  • LuckPerms-Bukkit-Legacy-2.17.39
  • Vault-1.4.1.jar

admin.yml

name: admin
perms: {}

Command:
/lp group admin permission set test.test

Server response:
Set test.test to true for admin

Command
/lp group admin permission set test.testt

Server response:
Group could not be fond.

admin.yml

name: admin
perms:
  test.test: null
@lucko
Copy link
Member

lucko commented Jan 30, 2017

Server log please.

@Westus
Copy link
Author

Westus commented Jan 30, 2017

@lucko
Copy link
Member

lucko commented Jan 30, 2017

Please delete the admin.yml file & try again. :)

@Westus
Copy link
Author

Westus commented Jan 30, 2017

@lucko
Copy link
Member

lucko commented Jan 30, 2017

Cannot reproduce locally.

What does the file look like once you've tried adding something to it?

Edit: just re-read your initial post

name: admin
perms:
  test.test: null

test.test should not be set to null.

@Westus
Copy link
Author

Westus commented Jan 31, 2017

Try my assembly. It already has a fixed CyberdyneCC/Thermos#498 (comment). From the first time it starts. link

@Westus
Copy link
Author

Westus commented Jan 31, 2017

Try again. For some reason, it can not run the first time.

@lucko
Copy link
Member

lucko commented Jan 31, 2017

Your server software is packaging a very old version of SnakeYAML. (a 6 year old version, to be exact)

So, in the same manner that you have to update SpecialSource, you need to update SnakeYAML.

Navigate to /<server root>/libraries/org/yaml/snakeyaml/1.9
Replace snakeyaml-1.9.jar with the file found here.
https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar

Obviously you'll need to rename it in the same manner as you did for SpecialSource.

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

No branches or pull requests

2 participants