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

Added StaffAuth psudo-plugin #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexantoniades
Copy link
Contributor

No description provided.

@randombyte-developer
Copy link
Owner

Wow, big contribution. Thanks!

I don't have access to my PC right now. I will check the script in like 1,5 weeks.

Btw: Did you code this without any code completion?

@alexantoniades
Copy link
Contributor Author

No problem, take your time.

Yeah, i don't like IDE's so i typically use a text editor (vscode, emacs, vim etc.). I also depends what i'm working on, in what language and for what platform.

Most of the script i wrote in vim (in terminal) but when i needed to interface with multiple files i finished it in vscode.

@randombyte-developer
Copy link
Owner

Sorry for the late reply.
I just tried to test the script and it seems that Gson is not present in SpongeVanilla and SpongeForge. Maybe you have another plugin installed that has Gson shaded into it?

SpongeVanilla: https://hatebin.com/dqyzdbnhpt
SpongeForge: https://hatebin.com/noyyloygnb

@alexantoniades
Copy link
Contributor Author

Yes, I probably do.

I assumed it was Sponge itself but evidently its not.

The only solutions i can think of is either manually install Gson ".jar" file in the mods/plugins folder or use the kotlin serialization library which, as far as i know, is not included in the standard kotlin library either.

Any recommendation?

@randombyte-developer
Copy link
Owner

I guess just using configurate which is built into Sponge should be fine for this case? https://docs.spongepowered.org/stable/en/plugin/configuration/index.html

@alexantoniades
Copy link
Contributor Author

Perhaps, though HOCON config files are not exactly known for key-value storage functionality or serialization even though theya re a super-set of JSON. I might need to revise it and see if configurate can trans-pile to JSON instead of HOCON.

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

Successfully merging this pull request may close these issues.

None yet

2 participants