Skip to content

Commit c6e769b

Browse files
committed
feat: add FlagService and FlagDefaultService with necessary imports and licensing
1 parent 0432dcf commit c6e769b

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

Core/src/main/java/com/plotsquared/core/database/DBFunc.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,15 @@
2121
import com.plotsquared.core.PlotSquared;
2222
import com.plotsquared.core.persistence.entity.PlotCommentEntity;
2323
import com.plotsquared.core.persistence.entity.PlotEntity;
24-
import com.plotsquared.core.persistence.entity.PlotFlagEntity;
2524
import com.plotsquared.core.persistence.repository.api.PlotCommentRepository;
2625
import com.plotsquared.core.persistence.repository.api.PlotDeniedRepository;
27-
import com.plotsquared.core.persistence.repository.api.PlotFlagRepository;
2826
import com.plotsquared.core.persistence.repository.api.PlotMembershipRepository;
2927
import com.plotsquared.core.persistence.repository.api.PlotRatingRepository;
3028
import com.plotsquared.core.persistence.repository.api.PlotRepository;
3129
import com.plotsquared.core.persistence.repository.api.PlotTrustedRepository;
3230
import com.plotsquared.core.plot.Plot;
3331
import com.plotsquared.core.plot.PlotId;
3432
import com.plotsquared.core.plot.comment.PlotComment;
35-
import com.plotsquared.core.plot.flag.PlotFlag;
3633
import com.plotsquared.core.util.task.RunnableVal;
3734

3835
import java.util.ArrayList;

Core/src/main/java/com/plotsquared/core/services/api/FlagService.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* PlotSquared, a land and world management plugin for Minecraft.
3+
* Copyright (C) IntellectualSites <https://intellectualsites.com>
4+
* Copyright (C) IntellectualSites team and contributors
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*/
119
package com.plotsquared.core.services.api;
220

321
import com.plotsquared.core.plot.Plot;

Core/src/main/java/com/plotsquared/core/services/impl/FlagDefaultService.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1+
/*
2+
* PlotSquared, a land and world management plugin for Minecraft.
3+
* Copyright (C) IntellectualSites <https://intellectualsites.com>
4+
* Copyright (C) IntellectualSites team and contributors
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*/
119
package com.plotsquared.core.services.impl;
220

3-
import com.plotsquared.core.PlotSquared;
421
import com.plotsquared.core.persistence.entity.PlotEntity;
522
import com.plotsquared.core.persistence.entity.PlotFlagEntity;
623
import com.plotsquared.core.persistence.repository.api.PlotFlagRepository;

0 commit comments

Comments
 (0)