8000 Feature/add timeout and deco by Raycoms · Pull Request #602 · ldtteam/minecolonies · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature/add timeout and deco #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 72 commits into from
Feb 15, 2017
Merged

Conversation

Raycoms
Copy link
Contributor
@Raycoms Raycoms commented Feb 15, 2017

Adds a way to calculate timeouts for certain commands (rtp here).
Adds some new decorations.

Review please

opmis and others added 30 commits January 5, 2017 21:30
Random TP players to location away from other colonies
Added in a 4 try for the TP then requests player to try again if it does not find a good spot
Better use less global variables and distribute the variables to the methods and use the return values.
We can't be sure if the sender is a player always. 
And if we instantiate that in the variables already probably causes the bug you had.
Y not reassigning
Seems to be working good
add the permission to the config file to allow/deny players to use of it
set up config file to handle the ability to allow players to use the command or not
Added the perms to the commands we discussed and added a configuration for the upper bounds for the TP command
Simplified code to check the config file to see with players can use commands
Still getting a couple errors when using commands
Fix CitizenInfo  pushing for safety as I fix the others
All working still need testing in a Multiplayer environment.  addOfficer still has issues.
mainly just clean up
…mmand'

Conflicts:
	src/main/java/com/minecolonies/coremod/commands/AbstractSingleCommand.java
	src/main/java/com/minecolonies/coremod/commands/ColonyTPCommand.java
	src/main/java/com/minecolonies/coremod/commands/DeleteColonyCommand.java
	src/main/java/com/minecolonies/coremod/commands/ShowColonyInfoCommand.java
Conflicts:
	src/main/java/com/minecolonies/coremod/commands/CitizenInfoCommand.java
	src/main/java/com/minecolonies/coremod/commands/ListCitizensCommand.java
	src/main/java/com/minecolonies/coremod/commands/ShowColonyInfoCommand.java
	src/main/java/com/minecolonies/coremod/entity/ai/citizen/builder/EntityAIStructureBuilder.java
	src/main/java/com/minecolonies/coremod/entity/ai/citizen/miner/EntityAIStructureMiner.java
All polished and spit shined...
* Fix upgrade button label for town hall

* "Upgrade Building" button label fix

* upgrade should be enabled

* revert back to the previous translation string
Made suggested changes to CTP
added OP over ride of permissions to Change and restore Colony Owner
Conflicts:
	src/main/java/com/minecolonies/coremod/colony/permissions/Permissions.java
	src/main/java/com/minecolonies/coremod/commands/AbstractSingleCommand.java
	src/main/java/com/minecolonies/coremod/commands/DeleteColonyCommand.java
	src/main/java/com/minecolonies/coremod/commands/RandomTeleportCommand.java
	src/main/java/com/minecolonies/coremod/commands/RefreshColonyCommand.java
	src/main/java/com/minecolonies/coremod/configuration/ConfigurationHandler.java
	src/main/java/com/minecolonies/coremod/configuration/Configurations.java
	src/main/resources/assets/minecolonies/gui/windowHutFisherman.xml
@marvin-bitterlich
Copy link
Member
marvin-bitterlich commented Feb 15, 2017

:shipit:

Approved with PullApprove

6D40
@marvin-bitterlich marvin-bitterlich merged commit c62addb into develop Feb 15, 2017
@marvin-bitterlich marvin-bitterlich deleted the feature/Add-timeout-and-deco branch February 15, 2017 21:15
Raycoms added a commit that referenced this pull request Feb 16, 2017
* Colony TP Command

Random TP players to location away from other colonies

* ColoyTPCommand update

Added in a 4 try for the TP then requests player to try again if it does not find a good spot

* Fix problem with world not loading.

Better use less global variables and distribute the variables to the methods and use the return values.
We can't be sure if the sender is a player always. 
And if we instantiate that in the variables already probably causes the bug you had.

* Colony TP Command 

Y not reassigning

* Colony TP Command

Seems to be working good

* Colony TP Command

add the permission to the config file to allow/deny players to use of it

* Colony RTP Command

set up config file to handle the ability to allow players to use the command or not

* Added perms for 8 commands to configs

Added the perms to the commands we discussed and added a configuration for the upper bounds for the TP command

* Commands with Configs

Simplified code to check the config file to see with players can use commands

* Commands Clean up

Still getting a couple errors when using commands

* Commands

Fix CitizenInfo  pushing for safety as I fix the others

* Commands

All working still need testing in a Multiplayer environment.  addOfficer still has issues.

* clean up commands #1

* Commnads

mainly just clean up

* More commands clean up-

* Clean up the colonyTPCommand

* Fix up some minor issues.

* improve save position check

* fix javadoc

* Commands

All polished and spit shined...

* Fix upgrade button label for town hall (#543)

* Fix upgrade button label for town hall

* "Upgrade Building" button label fix

* upgrade should be enabled

* revert back to the previous translation string

* Recall shouldn't return anything without citizen.

* Add refresh and change owner commands.

* Fix compile error

* /#386-Rtp-command:

Made suggested changes to CTP

* Commands

added OP over ride of permissions to Change and restore Colony Owner

* more fixes

* Commands

Finished moving some of the methods to utilis

* Commands

CTP Works again.  A little cleanup

* Improve commands. (fix rtp and add to  colonyOwner)

* fix up owner command even more

* Fix command

* Fix up owner command and permissions.

* Hotfix/some bugs (#545)

* Fix game crashing bug and let players attack mobs

* Check if file exists

* remove unused imports

* change order of if

* Coltons remark

* merge the repair build buttons.

* fix up merge problems.

* more merge fixes

* fix annotations.

* Resolved problems marvin mentioned

* Resolve sonar issues.

* Add missing parameter

* rename random teleport command

* Fix bug with incorrect pickaxe delivery

* fix up random teleport

* didn't need that check

* fix up last merge issues

* fix up level 5 citizen hut

* resolve merge problems.

* remove unneccessary imports

* Clean up imports

* fixing failing build.

* fix removal

* don'T get item dropped.

* fix ctape replaceable

* remove and add on place/destroy

* Fix recall message messup

* Fix replaceable issues

* fix addofficer permission, fix citizen info

* fix resource doubling

* Fix the citizen command

* fix openInventory message bug

* Add a "at least" time to the teleport command.

* add some decorations

* sonar fix
Raycoms added a commit that referenced this pull request Feb 21, 2017
* Improved the upload of build outputs to the Dropbox (#591)

Signed-off-by: OrionOnline <oriondevelopment@outlook.com>

* fixed placing (#597)

* Hotfix/#600-nullpointer

* Feature/add timeout and deco (#602)

* Colony TP Command

Random TP players to location away from other colonies

* ColoyTPCommand update

Added in a 4 try for the TP then requests player to try again if it does not find a good spot

* Fix problem with world not loading.

Better use less global variables and distribute the variables to the methods and use the return values.
We can't be sure if the sender is a player always. 
And if we instantiate that in the variables already probably causes the bug you had.

* Colony TP Command 

Y not reassigning

* Colony TP Command

Seems to be working good

* Colony TP Command

add the permission to the config file to allow/deny players to use of it

* Colony RTP Command

set up config file to handle the ability to allow players to use the command or not

* Added perms for 8 commands to configs

Added the perms to the commands we discussed and added a configuration for the upper bounds for the TP command

* Commands with Configs

Simplified code to check the config file to see with players can use commands

* Commands Clean up

Still getting a couple errors when using commands

* Commands

Fix CitizenInfo  pushing for safety as I fix the others

* Commands

All working still need testing in a Multiplayer environment.  addOfficer still has issues.

* clean up commands #1

* Commnads

mainly just clean up

* More commands clean up-

* Clean up the colonyTPCommand

* Fix up some minor issues.

* improve save position check

* fix javadoc

* Commands

All polished and spit shined...

* Fix upgrade button label for town hall (#543)

* Fix upgrade button label for town hall

* "Upgrade Building" button label fix

* upgrade should be enabled

* revert back to the previous translation string

* Recall shouldn't return anything without citizen.

* Add refresh and change owner commands.

* Fix compile error

* /#386-Rtp-command:

Made suggested changes to CTP

* Commands

added OP over ride of permissions to Change and restore Colony Owner

* more fixes

* Commands

Finished moving some of the methods to utilis

* Commands

CTP Works again.  A little cleanup

* Improve commands. (fix rtp and add to  colonyOwner)

* fix up owner command even more

* Fix command

* Fix up owner command and permissions.

* Hotfix/some bugs (#545)

* Fix game crashing bug and let players attack mobs

* Check if file exists

* remove unused imports

* change order of if

* Coltons remark

* merge the repair build buttons.

* fix up merge problems.

* more merge fixes

* fix annotations.

* Resolved problems marvin mentioned

* Resolve sonar issues.

* Add missing parameter

* rename random teleport command

* Fix bug with incorrect pickaxe delivery

* fix up random teleport

* didn't need that check

* fix up last merge issues

* fix up level 5 citizen hut

* resolve merge problems.

* remove unneccessary imports

* Clean up imports

* fixing failing build.

* fix removal

* don'T get item dropped.

* fix ctape replaceable

* remove and add on place/destroy

* Fix recall message messup

* Fix replaceable issues

* fix addofficer permission, fix citizen info

* fix resource doubling

* Fix the citizen command

* fix openInventory message bug

* Add a "at least" time to the teleport command.

* add some decorations

* sonar fix

* Fix merge conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0