instructure / bukkitlti Goto Github PK
View Code? Open in Web Editor NEWAn LTI tool plugin for Bukkit.
License: MIT License
An LTI tool plugin for Bukkit.
License: MIT License
Bukkit logs quite a few warnings when starting up the plugin:
[10:08:42 ERROR]: ebean.properties not found
[10:08:43 WARN]: 2014-08-26 10:08:43.722:INFO::Server thread: Logging initialized @8244ms
[10:08:43 WARN]: 2014-08-26 10:08:43.854:INFO:oejs.Server:Server thread: jetty-9.2.z-SNAPSHOT
[10:08:44 WARN]: 2014-08-26 10:08:44.016:INFO:/:Server thread: Warning: No org.apache.tomcat.JarScanner set in ServletContext. Falling back to default JarScanner implementation.
[10:08:44 WARN]: 2014-08-26 10:08:44.213:INFO:oejsh.ContextHandler:Server thread: Started o.e.j.w.WebAppContext@148cd594{/,jar:file:/Users/banderson/minecraft/plugins/bukkitlti-0.3.0.jar!/web,AVAILABLE}
[10:08:44 WARN]: 2014-08-26 10:08:44.220:INFO:oejs.ServerConnector:Server thread: Started ServerConnector@7a6a9df9{HTTP/1.1}{0.0.0.0:8133}
They seem to be handled correctly, but it would be nice to avoid worrying new users.
Disallowing HTTPS makes for a bad user experience with iframes in secure sites. Users should be able to specify a keystore and password in their config file to get HTTPS access.
See http://wiki.eclipse.org/Jetty/Howto/Configure_SSL and http://stackoverflow.com/questions/14362245/programatically-configure-ssl-for-jetty-9-embedded .
I have tried installing BukkitLTI on two CraftBukkit servers. One on Mac and one on PC.
On both I get severe errors when the plugin tries to load.
This means the register tokens are not working as the classes are not recognised in the game and throw up errors back on the server.
15:09:54 [INFO] Starting minecraft server version 1.6.4
15:09:54 [INFO] Loading properties
15:09:54 [INFO] Default game type: SURVIVAL
15:09:54 [INFO] Generating keypair
15:09:55 [INFO] Starting Minecraft server on localhost:25566
15:09:55 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.4-R2.0-b2918jnks (MC: 1.6.4) (Implementing API version 1.6.4-R2.0)
15:09:55 [SEVERE] ebean.properties not found
15:09:55 [INFO] DataSourcePool [BukkitLTI] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
15:09:55 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
15:09:55 [INFO] Entities enhanced[0] subclassed[3]
15:09:56 [INFO] [BukkitLTI] Loading BukkitLTI v0.2.0
15:09:56 [INFO] Preparing level "world"
15:09:56 [INFO] Preparing start region for level 0 (Seed: 445350203058331911)
15:09:56 [INFO] Preparing start region for level 1 (Seed: 445350203058331911)
15:09:56 [INFO] Preparing start region for level 2 (Seed: 445350203058331911)
15:09:56 [INFO] [BukkitLTI] Enabling BukkitLTI v0.2.0
15:09:56 [SEVERE] 2014-08-20 15:09:56.855:INFO::Server thread: Logging initialized @2396ms
Aug 20, 2014 3:09:56 PM
SEVERE: 2014-08-20 15:09:56.930:INFO:oejs.Server:Server thread: jetty-9.2.z-SNAPSHOT
Aug 20, 2014 3:09:57 PM
SEVERE: 2014-08-20 15:09:57.072:INFO:/:Server thread: Warning: No org.apache.tomcat.JarScanner set in ServletContext. Falling back to default JarScanner implementation.
Aug 20, 2014 3:09:57 PM
SEVERE: 2014-08-20 15:09:57.201:INFO:oejsh.ContextHandler:Server thread: Started o.e.j.w.WebAppContext@636fa225{/,jar:file:/Users/joel/Desktop/craftbukkit/plugins/BukkitLTI-0.2.1.jar!/web,AVAILABLE}
Aug 20, 2014 3:09:57 PM
SEVERE: 2014-08-20 15:09:57.211:INFO:oejs.ServerConnector:Server thread: Started ServerConnector@3206bb1e{HTTP/1.1}{0.0.0.0:8133}
Aug 20, 2014 3:09:57 PM
SEVERE: 2014-08-20 15:09:57.213:INFO:oejs.Server:Server thread: Started @2756ms
Aug 20, 2014 3:09:57 PM org.bukkit.craftbukkit.v1_6_R3.CraftServer loadCustomPermissions
INFO: Server permissions file permissions.yml is empty, ignoring it
Aug 20, 2014 3:09:57 PM net.minecraft.server.v1_6_R3.ConsoleLogManager info
INFO: Done (1.215s)! For help, type "help" or "?"
It would be nice to support 1.6.4. It's currently giving this error for /register:
Aug 20, 2014 10:46:26 PM net.minecraft.server.v1_6_R3.ConsoleLogManager info
INFO: jollup issued server command: /register gq0rvn71oji1roh3n7c68e27ha
Aug 20, 2014 10:46:26 PM net.minecraft.server.v1_6_R3.PlayerConnection handleCommand
SEVERE: null
org.bukkit.command.CommandException: Unhandled exception executing command 'register' in plugin BukkitLTI v0.2.2
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528)
at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:968)
at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:886)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:837)
at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49)
at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NoSuchMethodError: com.instructure.bukkitlti.BukkitLTI.getPlugin(Ljava/lang/Class;)Lorg/bukkit/plugin/java/JavaPlugin;
at com.instructure.bukkitlti.BukkitLTI.getDb(BukkitLTI.java:132)
at com.instructure.bukkitlti.User.where(User.java:81)
at com.instructure.bukkitlti.User.byToken(User.java:89)
at com.instructure.bukkitlti.RegisterCommand.onCommand(RegisterCommand.java:27)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
Sakai rejects submissions because the request is being sent without oauth_body_hash. See this upstream bug:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.