TheNewEconomy / EconomyCore

The core code powering TNE.
Other
19 stars 5 forks source link

[BUG]: Conversion troubles #69

Closed lubaskinc0de closed 12 months ago

lubaskinc0de commented 1 year ago

TNE Version

0.1.2.3

Spigot Version

1.20.1

Your config.yml

https://pastebin.com/qgnSkAyJ

Your latest server log

https://pastebin.com/AFPC2ui1

What modules are you using?

Conversion

What part of TNE is the bug affecting?

Other Plugin Support

Is your server using online mode?

No

Bug description

Convert from essentials troubles

How to reproduce

i remove accounts folder, i remove extraction.yml, i put the conversion module to "modules" folder, i remove essentials jar from plugins folder

in my essentials files, i have a 2000 balance, i put the screenshot here image

next, i do /tne convert essentials.

in TNE files i now see my 2000 balance, put the screenshot image

i restart the server. do the /papi parse structnull %tne_balance% and i see 200

in my TNE files i now see image

what im doing wrong?

creatorfromhell commented 1 year ago

Where are the currency configurations? The currency main yml file? @lubaskinc0de

Also you're not using bungee or anything? It's a cracked server?

lubaskinc0de commented 1 year ago

i'm not use bungee, i use clear paper with offline mode

creatorfromhell commented 1 year ago

i'm not use bungee, i use clear paper with offline mode

Ok, I'll be testing with online mode, but this may be a part of the issue. That's why the spigot page showcases no support for offline mode servers.

lubaskinc0de commented 1 year ago

https://pastebin.com/XbyW8BxP currency

creatorfromhell commented 1 year ago

https://pastebin.com/XbyW8BxP currency

Check discord, I sent you a message with a fixed jar for offline servers.

lubaskinc0de commented 1 year ago

not working

lubaskinc0de commented 1 year ago
  1. clean server in offline-mode with only essentials (EssentialsX-2.21.0-dev+17-79449ef) luckperms and vault installed
  2. /eco give structnull 10000000000
  3. /balance -> 10000000000
  4. remove the essentials jar, installing latest version of TNE (TNE-BukkitCore-0.1.2.4-Pre1)
  5. setting

Cracked Server? Set this to true. May cause data issues as spigot/paper UUIDs are unpredictable.

Do not change this unless you know what you're doing.

Offline: true

  1. add Conversion (Conversion-0.1.2.0-PRE-1) module

  2. restart

  3. /balance -> 200

  4. /tne convert essentials

  5. balance -> 10000000000

  6. add essentials jar to plugins

  7. restart

  8. see useful logs (picture) image

  9. /balance -> 200

lubaskinc0de commented 12 months ago

resolved