Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@valych: I will take a look at it myself.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
Do you use JDK 1.8 32 Bit and also startup the server with the startup.sh file? You just need to download the full server package and replace the windows binaries with the linux ones.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@valych: I pushed an update for shoebill-runtime, please test if you still get the CreationFailedException errors.
Posts: 16
Threads: 1
Joined: Dec 2007
Reputation:
0
I'm trying to use hibernate (ORM Mapping framework) with shoebill since this would significantly speed up my productivity.
To get hibernate to work one needs to have a persistence.xml file in the meta-inf directory on the classpath, as far as i can see the resources in the jar do not get added to the classpath within the shoebill sa-mp server.
Is this correct? if so how would one be able to add stuff to the classpath of the gamemode?
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@joh999: You can include your persistence.xml file in the src/main/resources/META-INF/ folder. If it does not exists, create it (There should also be a gamemode.yml file in the src/main/resources folder). Maven will then include all the files in your .jar file.
Posts: 110
Threads: 3
Joined: Aug 2009
Reputation:
0
@mk124, I started shoebill-updater.bat and it said all files were up to date (maybe I did it several times and didnt notice the update), but I'm still experiencing that exception. Or should I update it in some other way?
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@valych: You need to disable offlineMode in resources.yml.
Posts: 6
Threads: 0
Joined: Nov 2008
Reputation:
0
Hello, first of all great job on this plugin!
I've got a question regarding a command. Let's say I have a command and I make it so it has one parameter (a string), but that parameter is like one whole sentence (for example: /kick This is a sentence), how can I make it so it acts this way?
Posts: 343
Threads: 40
Joined: Dec 2013
Reputation:
0
Hello and great job!
This plugin is amazing and is working great on Windows but I have a doubt since I am new in Java and the configuration for me is still very hard:
How can I run a server I made with IntelliJ IDEA on my CentOS 7 VPS?
I really want use your plugin to start a new gamemode but I have no idea how to run the gamemode on my VPS.
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
@Su37Erich: You can use maven on Windows by using the .m2 folder, but on Linux you have to copy the .jar file manually into the game modes folder of the shoebill directory as dusk already told you. It's important that you add the needed runtime's and libraries into your resources.yml, because Shoebill won't resolve them for you if you use the game modes folder.
Posts: 343
Threads: 40
Joined: Dec 2013
Reputation:
0
Thanks for replying I have setup everything but now I got this error:
[16:42:15]
[16:42:15] Server Plugins
[16:42:15] --------------
[16:42:15] Loading plugin: Shoebill
[16:42:15] > Shoebill 1.1 NativePlugin for SA-MP 0.3.7 by MK124, JoJLlmAn & 123marvin123
[16:42:15] > Java VM has been created.
[16:42:34] ShoebillPlugin Error: Can't resolve dependencies.
[16:42:34] Loaded.
[16:42:34] Loaded 1 plugins.
Looks like I need the lib but I don't know how to do it for Centos7 since the post of dusk is apt-get
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
CentOS is using yum as the primary package manager, you should try to install it via yum like:
sudo yum install [Package name]
Posts: 343
Threads: 40
Joined: Dec 2013
Reputation:
0
I have found this:
yum install glibc-devel
Bu still the same error message, sorry
Posts: 319
Threads: 4
Joined: Jul 2007
Reputation:
0
You can try to build the plugin yourself. You will need CMake, (Git), JDK 1.8 (32 Bit), Libiconv, and an C++ compiler. It is a bit of a hassle, especially if you don't know what exactly you need to do. You can first try to install these and try it again:
sudo yum install libc6-amd64 libc6-dev libc6-dbg libxtst6 libxrender1