Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 231894

Java (not to be confused with JavaScript) is a class-based, object-oriented, strongly typed, reflective language and run-time environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM) enabling a "write once, run anywhere" (WORA) methodology.

3 votes
3 answers
288 views

Remove Minecraft formatting codes from a String

I obtain strings that contain chat messages, and they sometimes have formatting codes imbedded in them. A formatting code is a § followed by a character, and this character then defines how the code w …
monamona's user avatar
  • 475
4 votes
2 answers
907 views

Find minecraft colour codes in string

I've written a simple util-method in my spigot plugin to check if a message contains a valid minecraft colour code. A valid minecraft colour code consists of a & followed by a hex digit: 0 to f. Minec …
monamona's user avatar
  • 475
6 votes
1 answer
401 views

Base Class System for splitting a spigot command in subcommands

Related to this question: Spigot Plugin: Generic form of the plugin's main clas I've created a Clan-Plugin, in which I have one "main" command, which is simply /clan. Then there are several sub-comman …
monamona's user avatar
  • 475
6 votes
1 answer
95 views

Delete Entry from SQL-Table and confirm the deletion to a CommandSender in a spigot plugin

I'm working on a spigot plugin, that deals with messages to from players on a server to the admin's. It's the same plugin this question relates to: SQL structure to save coordinates for spigot plugin …
monamona's user avatar
  • 475
4 votes
1 answer
377 views

Spigot Plugin: Generic form of the plugin's main class

I have created a lot of spigot plugins in my "career" as a developer for a bunch of Minecraft servers, but every time I start writing a new plugin, I basically "reinvent" the structure of my main plu …
monamona's user avatar
  • 475
2 votes
1 answer
53 views

Parsing one UserData type to a preview

I am currently developing a web app and am using Spring as a Backend. I have some user data that is provided by one of our services and I need to display it in my frontend. The subject of the code rev …
monamona's user avatar
  • 475
0 votes
2 answers
60 views

Naming of api calling methods to get an object by two different properties

I have the situation, where I have to methods in my api calling class that do basically the same thing. I have a profile that contains multiple account objects. These objects have their own UUID as a …
monamona's user avatar
  • 475