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

[WIP] Skript Compatibility #20

Open
skmedix opened this issue Jan 14, 2017 · 6 comments
Open

[WIP] Skript Compatibility #20

skmedix opened this issue Jan 14, 2017 · 6 comments

Comments

@skmedix
Copy link
Contributor

skmedix commented Jan 14, 2017

I'll keep this issue up to date, and I'll add more features to the list in next coming days.

Tested with:
Skript - dev23
skAliases - 2.0.5
PoreRT - 1.11 build 112
SpongeForge - 1.11-2195-6.0.0-BETA-2004
Forge - 1.11-13.19.1.2199


How to reproduce:

  1. Install server with Forge, SpongeForge and PoreRT
  2. Download and place latest Skript in folder plugins
  3. (Optional) Make folder Skript in plugins if it doesn't exist
  4. Download and place aliases-english.sk in created folder
  5. (Optional) Create folder scripts in Skript folder if it doesn't exist
  6. Download problematic skript and place it in folder plugins/Skript/scripts/
  7. Run server.

Tested features:

  • Enabling skripts
  • Disabling skripts - Error (Problem with guava)
  • Reloading skripts - Error (Problem with guava)

Effects:

  • Bans - Error - Skript (todo)
  • Broadcast
  • Cancel Event (todo)
  • Command
  • Damage / Heal / Repair
  • Drop - Error - Skript (todo)
  • Give - Error - Skript
    give a stone to the player
  • Equip (todo)
  • Exit (todo)
  • Explosion (todo)
  • Kick
  • Kill
  • Lightning
  • Messages
  • Op/Deop - Not Implemented PoreHumanEntity.setOp()
  • Open Inventory (todo)
  • Play Effect (todo)
  • Poison (todo)
  • Potion Effect (todo)
  • Push (todo)
  • PvP (todo)
  • Replace (todo)
  • Shear (todo)
  • Shoot (todo)
  • Spawn (todo)
  • Teleport (todo)
  • Toggle (todo)
  • Tree (todo)
  • Vehicle (todo)
  • More soon

Events:

  • On Bed Enter - No reaction, No error
  • On Bed Leave - No reaction, No error
  • On Block Damage - No reaction, No error
  • On Break / Mine - MaterialConverter java.lang.NoSuchFieldError: AIR
  • On Bucket Empty - No reaction, No error
  • On Bucket Fill - Error
  • On Burn
  • On Can Build Check - (todo)
  • On Chat
  • On Chunk Generate
  • On Chunk Load
  • On Chunk Unload
  • On Click - Error - Skript
  • On Combust - (todo)
  • On Command - (todo)
  • On Connect
  • On Consume - (todo)
  • On Craft
  • On Creeper Power - (todo)
  • On Damage
  • On Death
  • On Dispense - (todo)
  • On Drop
  • On Enderman/Sheep - (todo)
  • On Experience Spawn
  • On Explode
  • On Explosion Prime
  • On Fade - (todo)
  • On First Join - (todo)
  • On Fishing
  • On Flow
  • On Form - (todo)
  • On Fuel Burn
  • On Gamemode Change
  • On Grow
  • On Heal
  • On Hunger Meter Change
  • On Ignition - (todo)
  • On Item Break
  • On Item Spawn
  • On Join
  • On Kick
  • On Leaves Decay
  • On Level Change - (todo)
  • On Lightning Strike
  • On Move On - Error
  • On Physics
  • On Pick Up - (todo)
  • On Pig Zap - (todo)
  • On Piston Extend (w/o sticky)
  • On Piston Retract
  • On Place
  • On Portal
  • On Portal Create
  • On Portal Enter
  • On Pressure Plate / Trip
  • On Projectile Hit
  • On Quit
  • On Redstone - (todo)
  • On Region Enter/Leave - (todo)
  • On Respawn - (todo)
  • On Script Load/Unload - (todo)
  • On Shoot
  • On Sign Change
  • On Skript Start/Stop
  • On Smelt
  • On Sneak Toggle
  • On Spawn
  • On Spawn Change - (todo)
  • On Spread - (todo)
  • On Sprint Toggle
  • On Tame - (todo)
  • On Target - (todo)
  • On Teleport
  • On Throwing of an Egg
  • On Tool Change
  • On Vehicle Create
  • On Vehicle Damage
  • On Vehicle Destroy
  • On Vehicle Enter
  • On Vehicle Exit
  • On Weather Change
  • On World Init - (todo)
  • On World Load
  • On World Save
  • On World Unload
  • On Zombie Break Door - (todo)
  • Periodical

Types:
TODO

I'll add more features to the list later, most of them are causing error with MaterialConverter like above.

@Maxqia
Copy link
Owner

Maxqia commented Jan 15, 2017

No such field def error probably caused by not updated Sponge version. ItemTypes.AIR was added "recently". And for setOp see here :

@Maxqia Maxqia mentioned this issue Jan 15, 2017
@skmedix
Copy link
Contributor Author

skmedix commented Jan 15, 2017

Not implementing setOp makes sense, I think that option is not necessary. Also I've made a small update of the issue. (Most of events doesn't fire any error or message)

Edit: Because most of them are not registered or even implemented, I get it.

@Maxqia
Copy link
Owner

Maxqia commented Jan 16, 2017

Implementing events are a royal pain in the butt, so I'd be fine if you just took them from Craftbukkit and turned them into mixins (e.g https://github.com/Maxqia/PoreRT/blob/master/src/main/java/blue/lapis/pore/mixin/network/MixinNetHandlerPlayServer.java), also apparently SpongeForge didn't update the SpongeAPI for the ItemTypes.AIR update until 1.11.2 :P

@skmedix
Copy link
Contributor Author

skmedix commented Jan 16, 2017

I'll look into that.

@bensku
Copy link

bensku commented Jan 18, 2017

Is there anything which I (as Skript maintainer) could do to improve Pore compatibility?

@Maxqia
Copy link
Owner

Maxqia commented Jan 19, 2017

Probably not from the Skript side of things :P

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

3 participants