13.11.2015, 17:42
(
Последний раз редактировалось dusk; 13.11.2015 в 19:02.
)
Quote:
Hi, thanks for your work. And I sorry for my English. I recently started to write the server using your plugin. And faced with a problem. I tried to connect to Postgresql. I copied the JDBC file to the /libraries directory. But I get an exception on server startup.
java.sql.SQLException: No suitable driver found for jdbcostgresql://localhost:5432/samp I could not find any information on where to register a libraries such as JDBC. I tried to copy a JDBC file to a /gamemodes folder. And to /gamemodes/lib folder. Also i tried to add JVM options "-Djava.library.path="E:\server samp\shoebill\libraries"". But I also get an exception on server startup. Help me please. What did I do wrong? |
Add your .Jar files to server/shoebill/libraries, if they're there, they will be loaded.
Question to author: Why does the first argument of command methods must be of type Player? In my case, I have a wrapper for it so I'd really like my commands have that wrapper as an argument... But it seems it's not achievable without rewriting CommandGroup class....