1.1.3 • Published 3 years ago

quickshop-object-parser v1.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

quickshop-object-parser

This module fetches data from a myslq QuickShop server, caches it and transforms it into an Array of custom Shop objects.

The Shop Class

Each QuickShop shop is parced into a custom object that's an instance of the Shop class. That object stores, the x, y and z cords, the price, the owner and the itemConfig data.

The itemConfig data

The itemConfig data is parsed from the Java Object String Representation to a JavaScript object.

⚠ Caution ⚠

The parser isn't very good and might break if any of this characters are in an unusual place (like item names). ,:,:,==: This, normally, should lead to a parse error that, in the worst sceenario, would crash any application runing this code. It is unknown to me if this can be used as a gateway to code injections. I'll be working on this so the next version of the plugin doesn't have such horrofying issues. For now I recomend using this plugin in trusted everyoments.

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago