Thanks! Yeah I realized pretty quickly that ArrayList was the incorrect storage method but that I was looking for a map, and I just onPlayerJoin...
So I'm making this plugin where I wanna store some variables for every player. My plan right now is to create a user class, and when a player...
I fixed it. String sql = "CREATE TABLE IF NOT EXISTS [" +albumName.toLowerCase()+ "] (\n" + " id integer PRIMARY KEY,\n" + "...
Sure! Here is the method that is throwing the error public void createNewAlbum(String albumName) { String url =...
I'm working with databases for the first time in a long time and I'm having an issue. I'm getting this error: [SQLITE_ERROR] SQL error or missing...
For the first bit you said, correct me if I'm wrong, but my understand of the terminology goes like this: int myInteger; is an declaration,...
Like this? public User(Main mainClass, Player p){ Main mainClass = mainClass; UUID uuid = p.getUniqueID(); } That would put mainClass...
I'm creating an instance of User in my onCommand in Main. After I check to ensure the command sender is a player I'm running this: User u = new...
I have two classes. I have my main class "Main" which extends JavaPlugin. I have a Users class which I'm using to manage a bunch of variables. I...
Hello! I'm currently working on a punishment GUI plugin. I have a command where staff members do /punish {player name} and it opens a GUI with...
Thanks! I probably should've specified the version lol, sorry. I need it for a 1.8.9 jar. I'll test it real quick and let you know if it works....
I would like a plugin that disables the brewing of strength II. I believe its possible to make it so that if they put a strength potion and glow...
Separate names with a comma.